© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
sezohussien

Action form wizard select options problem

Some times when clicking an action and form wizard is opening the select dropdown options became empty with no options ?
->form([
                        Forms\Components\Wizard::make([
                            Forms\Components\Wizard\Step::make('country')
                                ->label('Select country')
                                ->icon('heroicon-o-globe-alt')
                                ->schema([
                                    Forms\Components\Select::make('country_code')
                                        ->label('Country')
                                        ->options($getCountries)
                                        ->searchable()
                                        ->default(fn($record) => getCountries()->where('iso_3166_1_alpha2', $record->country_code)->value('iso_3166_1_alpha2')),
                                ])
->form([
                        Forms\Components\Wizard::make([
                            Forms\Components\Wizard\Step::make('country')
                                ->label('Select country')
                                ->icon('heroicon-o-globe-alt')
                                ->schema([
                                    Forms\Components\Select::make('country_code')
                                        ->label('Country')
                                        ->options($getCountries)
                                        ->searchable()
                                        ->default(fn($record) => getCountries()->where('iso_3166_1_alpha2', $record->country_code)->value('iso_3166_1_alpha2')),
                                ])
image.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Form Select options reload
FilamentFFilament / ❓┊help
3y ago
Form Select Problem
FilamentFFilament / ❓┊help
5mo ago
Form Select component select all options method
FilamentFFilament / ❓┊help
3y ago
Problem getting multiple select value in action modal form
FilamentFFilament / ❓┊help
2y ago