F
Filament2mo ago
uendel

Dynamic select options don't work with native Select

I have a select that has options dependent on other field.
Select::make('person_id')
->native(false)
->searchable(false)
->options(fn () => self::$peopleOptions)
->visible(fn () => self::$foundMultiplePeople)
->label('Person'),
Select::make('person_id')
->native(false)
->searchable(false)
->options(fn () => self::$peopleOptions)
->visible(fn () => self::$foundMultiplePeople)
->label('Person'),
However this only works if the select is not native, am I doing something wrong?
1 Reply
toeknee
toeknee2mo ago
Make it ->live() if you want them to update
Want results from more Discord servers?
Add your server