multi select
Is there any way to make the multiselect not go back to the top after selecting an item
5 Replies
There is an option for that in the Choices.js that Filament uses, but there is currently no option in Filament to set it.
Thanks!
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.
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.
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.