F
Filament12mo ago
Sesh

How to disable select all in Table Builder?

I found a method to disable "Select all" for bulk actions in the admin panel: protected bool $shouldSelectCurrentPageOnly = true; How can I use this function in the table builder?
Solution:
This worked for me:
protected function shouldSelectCurrentPageOnly(): bool
{
return true;
}
protected function shouldSelectCurrentPageOnly(): bool
{
return true;
}
...
Jump to solution
4 Replies
Patrick Boivin
Patrick Boivin12mo ago
I think you can use the same property on your custom Livewire component
Hemanath
Hemanath12mo ago
you can try in list page
JibayMcs
JibayMcs12mo ago
Filament
Actions - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
Solution
Sesh
Sesh12mo ago
This worked for me:
protected function shouldSelectCurrentPageOnly(): bool
{
return true;
}
protected function shouldSelectCurrentPageOnly(): bool
{
return true;
}