Replies: 2 comments 2 replies
-
https://filamentphp.com/docs/3.x/forms/fields/select#multi-select Code: use Filament\Forms\Components\Select;
Select::make('technologies')
->multiple() //<--
->options([
'tailwind' => 'Tailwind CSS',
'alpine' => 'Alpine.js',
'laravel' => 'Laravel',
'livewire' => 'Laravel Livewire',
]) |
Beta Was this translation helpful? Give feedback.
1 reply
-
No, that's not what I asked. It's easy to make a multiselect with filament (as you show) The question is "can the multiselect also be sortable?" or maybe more precisely "re-orderable" So, for instance - "select the fruits you like most in order of preference" I would like the ability to change the order (by drag and drop) Is that clearer now? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Form builder
Package Version
v3 / v4
How can we help you?
Hello, I'm thinking of migrating to Filament from Nova but one thing I use heavily in my application is sortable multi select fields.
Nova doesn't support this natively but there are various plugins, like this one...
https://github.com/outl1ne/nova-multiselect-field
As far as I can see, Filament doesn't offer this natively either? Does anyone know of a plugin that adds this functionality to filament?
Thanks,
Jonathan
Beta Was this translation helpful? Give feedback.
All reactions