F
Filamentβ€’16mo ago
bennett

Select Form Field Limits 50 Options Visible

When using the Select form-field, I'm populating the options() method like this:
Select::make('promotion')
->options(function(){
$promos = PromotionMeta::orderBy('promotion_desc')
->pluck('promotion_desc', 'promotion')
->toArray();
return $promos;
})
->searchable()
->required()
->reactive(),
Select::make('promotion')
->options(function(){
$promos = PromotionMeta::orderBy('promotion_desc')
->pluck('promotion_desc', 'promotion')
->toArray();
return $promos;
})
->searchable()
->required()
->reactive(),
My problem is: only 50 results are visible in the dropdown at a time. Can this be changed? Yes, I realize it's searchable but users may not know what to search. I'd like to show all options.
3 Replies
bennett
bennettOPβ€’16mo ago
Thanks! I'm using v2 and didn't see that in the v2 docs. But it does work in v2.
toeknee
toekneeβ€’16mo ago
πŸ‘
Want results from more Discord servers?
Add your server