How to use shouldDeselectAllRecordsWhenTableFiltered?
I want to keep the selections and NOT clear them when a user searches inside the table, came accross this https://github.com/filamentphp/filament/issues/5776 but not sure how I am supposed to use it?
GitHub
Table : Selected elements are deselected when using search · Issue ...
Package filament/filament Package Version v2.17.4 Laravel Version v9.52.0 Livewire Version v2.12.0 PHP Version PHP 8.1.0 Problem description When using search and select rows, changing the search i...
4 Replies
Just add this to the table
returns
App\Filament\Resources\ServerResource::table(): Return value must be of type Filament\Tables\Table, true returned
am i doing something wrong?
@adnn
make sure
this classes are imported in the top of the file
I tried it is working fine
They are imported, still getting the same error. Here's the full code just in case I messed up somewhere