Select::make using resources

Select::make('country_id') ->label('Country') ->searchable() ->options(Country::all()->pluck('name', 'id')->toArray()) ->reactive() ->required() ->placeholder('Select a country'), I am using the above code in my resources without selecting the country. When I given Alt + down arrow, it shows a select list with an Arrow down with countries. If I refresh the page, it is not visible,so kindly advise me anyone
No description
3 Replies
Vp
Vp14mo ago
Because the Country select is not auto-focus, when refreshing page it lost focus on select that's why you cannot see options using Alt+ArrowDown. Focus on select and it should work
Venky
Venky14mo ago
@Vp I am also facing this issue. Assume that we have another few more fields before this country field and I am filling and moving from 1 field to another by 'Tab'. Once, I landed in this field using 'Tab' I am trying to see the option using Alt + down arrow. It is not working properly while accessing it through keyboard. Are we missing anything here? I hope this is happening in filament demo also. Please provide an example of workaround if any.
Vp
Vp14mo ago
Maybe a bug then, please submit issues on github, I check for only one Select components
Want results from more Discord servers?
Add your server