set default value for select
I cannot figure out how to set the default value for a select. I've tried both:
and
Neither seems to actually set the default value.
and
Neither seems to actually set the default value.
Select::make('status')
->options(StatusEnum::class)
->default(StatusEnum::DRAFT)Select::make('status')
->options(StatusEnum::class)
->default(StatusEnum::DRAFT->value)