Table column searchable - how to show user which columns are searchable
In the table builder, you can make columns searchable, which is great. For example:
So the
name
and title
columns are searchable, but not the id
and description
column.
From an end user perspective: how to know, which fields/columns are searchable and which not? When I enter for example 12
, without any extra knowledge / information, I would expect to get the row with the id 12 or at least with 12 in it.
Why not adding the names (labels) of the columns as a placeholder in the searchbox. Or mark the searchable columns somehow ?Solution:Jump to solution
Its now possible with https://github.com/filamentphp/filament/pull/8884
GitHub
Add column labels to table global search field by bernhardh · Pull ...
Changes have been thoroughly tested to not break existing functionality.
Visual changes are explained in the PR description using a screenshot/recording of before and after.
TLDR:
This PR adds th...
2 Replies
Maybe something like this
Solution
Its now possible with https://github.com/filamentphp/filament/pull/8884
GitHub
Add column labels to table global search field by bernhardh · Pull ...
Changes have been thoroughly tested to not break existing functionality.
Visual changes are explained in the PR description using a screenshot/recording of before and after.
TLDR:
This PR adds th...