Multi-select select all/deselect all
Is there any better solution to select all/deselect all options then the following, needs help to refactor the toggeling
3 Replies
I think you should be able to get options from the component then you won't need the db query
maybe
$component->getOptions()
or something similarNeither of these working when click on 'select all'
Sorry, this works:
Sandro Gehri (@gehrisandro) on X
π‘ Filament tip
@filamentphp
hintAction()
makes it really easy to add a "Select all" action to your select elements.
Code in thread πTwitter