multi select

Is there any way to make the multiselect not go back to the top after selecting an item
5 Replies
cheesegrits
cheesegrits2y ago
There is an option for that in the Choices.js that Filament uses, but there is currently no option in Filament to set it.
mrdarknezz
mrdarknezzOP2y ago
Thanks!
cheesegrits
cheesegrits2y ago
You might consider submitting a PR to allow this option to be enabled in Filament, although I don't know if Dan would merge it.
awcodes
awcodes2y ago
Please submit a PR if you can, but I think there might be more caveats involved with this around entangling the state with with alpine.
cheesegrits
cheesegrits2y ago
I checked, it just passes getFoo() args into the call to the JS module in the blade, and from there into the Choices opts. I just don't know how further entrenched into Choices Dan wants to get.

Did you find this page helpful?