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')),
])
No description
2 Replies
sezohussien
sezohussienOP5mo ago
GitHub
Searchable select not outputting value in wizard on page · Issue #9...
Package filament/forms Package Version v3.0.88 Laravel Version v10.29.0 Livewire Version v3.0.10 PHP Version PHP 8.2.11 Problem description When a select form element is set to searchable in a wiza...
sezohussien
sezohussienOP5mo ago
GitHub
Repeater bug when have searchable select field inside · Issue #7940...
Package filament/filament Package Version v3.0.27 Laravel Version v10.19.0 Livewire Version v3.0.0-beta10 PHP Version PHP 8.1.10 Problem description This bug only happens when we have searchable se...
Want results from more Discord servers?
Add your server