Make text column description()
searchable -- descriptionSearchable()
#16539
Closed
bensondevs
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Not sure if I understand correctly, but can you now just pass an array of columns to be searched to the Tables\Columns\TextColumn::make('name')
->description(fn (LeadCapture $record) => $record->email)
->searchable(['name', 'email']), 🤔 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes you want to put some attribute under one another and let it be a description. But there is an issue with this.. The attribute that becomes the description is no longer searchable. The way we "hack" filament table to be able to search to the description is by doing such thing:
Can it be like:
This will surely make the syntax more readable and easier to maintain
Beta Was this translation helpful? Give feedback.
All reactions