mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 20:42:02 +00:00
feat(ui): hint Enter-to-commit in default table search placeholder
The default DataTableSearch placeholder now reads "Search... (press Enter)" so the commit-on-Enter behavior is discoverable across every table that does not pass a custom placeholder.
This commit is contained in:
@@ -44,7 +44,7 @@ export const DataTableSearch = ({
|
||||
controlledValue,
|
||||
onSearchChange,
|
||||
onSearchCommit,
|
||||
placeholder = "Search...",
|
||||
placeholder = "Search... (press Enter)",
|
||||
badge,
|
||||
}: DataTableSearchProps) => {
|
||||
const searchParams = useSearchParams();
|
||||
|
||||
Reference in New Issue
Block a user