💄 make controlled data table input a search input

This commit is contained in:
Fred KISSIE
2026-05-11 18:02:44 +02:00
parent 563e505cc1
commit 56d3a466e5

View File

@@ -305,6 +305,7 @@ export function ControlledDataTable<TData, TValue>({
onSearch(e.currentTarget.value)
}
className="w-full pl-8"
type="search"
/>
<Search className="h-4 w-4 absolute left-2 top-1/2 transform -translate-y-1/2 text-muted-foreground" />
</div>