FilamentF
Filament17mo 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'),


However this only works if the select is not native, am I doing something wrong?
Was this page helpful?