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')),
])