diff --git a/src/lib/table/TableSearch.svelte b/src/lib/table/TableSearch.svelte index 585272c95..5dfb5bdd6 100644 --- a/src/lib/table/TableSearch.svelte +++ b/src/lib/table/TableSearch.svelte @@ -12,6 +12,7 @@ footer, divClass, inputValue = $bindable(), + oninput, striped = false, hoverable = false, customColor = "", @@ -77,7 +78,7 @@ - + {#if header} {@render header()} @@ -104,6 +105,7 @@ @prop footer @prop divClass @prop inputValue = $bindable() +@prop oninput @prop striped = false @prop hoverable = false @prop customColor = "" diff --git a/src/lib/types.ts b/src/lib/types.ts index 7218a8d46..d7f533a34 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -1837,6 +1837,7 @@ export interface TableSearchProps extends TableSearchVariants, HTMLTableAttribut footer?: Snippet; divClass?: ClassValue; inputValue?: string; + oninput?: (event: Event) => void; striped?: boolean; hoverable?: boolean; customColor?: string;