Display all option in a multiple select

Hey guys, i have this code
Forms\Components\Select::make('permissions')
->relationship('permissions', 'name')
->multiple()
->label('Seleccione los permisos para la cuenta')
->required(),
Forms\Components\Select::make('permissions')
->relationship('permissions', 'name')
->multiple()
->label('Seleccione los permisos para la cuenta')
->required(),
With this configuration the drop-down list of options is not displayed. Is there a way to make it drop-down when clicking on the select input and that in turn allows multiple permissions to be selected without problem? I mean, no need to search Thank you so much!
No description
1 Reply
TranceCode
TranceCodeOP10mo ago
i just add
->preload()
->preload()
and it's working like i need!
Want results from more Discord servers?
Add your server