Custom UI Filter in table builder
Hello everyone, I am trying to get custom UI Filter component in table filter. how can get it.
Example. I wanna get a card with input box and search button at top of the filament table.
4 Replies
Do you mean this? https://filamentphp.com/docs/2.x/tables/filters#displaying-filters-above-or-below-the-table-content
Filament
Filters - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
Thanks bros
It does not work for me... something I am doing wrong. Where Am I supposed to write down the funcion in the admin resource? Any clue would be appreciated as I find nothing over the internet... The method is never called if I create it at the Resource class.
I found this reply that works for me: ->filters([], layout: Layout::AboveContentCollapsible)
This goes in your resource’s List class. So instead of CustomerResource it goes in the ListCustomers class