Form Select Component doesn't want to take default() value
Hi, Im creating Select in my form
Select doesnt react to any changes that I apply. My end goal is to create select with all users email- but when record is already created i want to pass these user email as default. Options method seems fine, I have all options with proper values and names.
6 Replies
are you on the create or edit page
Edit page
defaults are filled on the create page
why is the user not in the database by that point?
I mean everything is filled at this point, if i create for example TextInput there email will fill input, but by creating select component i have placeholder selected
pluck(‘email’, ‘email’) ?
you shouldnt need default()
I've removed vendor and poped composer install and filament upgrade and everything seems working without default