How to work with disablePlaceholderSelection() ?
I have an issue with
disablePlaceholderSelection()
, whenever the value isn't changed after form loaded, the required validation always failed like the select doesn't have any state, even I've set the default value...1 Reply
I have the same problem. Shouldn't the first item in the list be selected by default?
My workaround is to add somethink like this ->default(fn() => Template::where('type',$this->record->type)->first("id")->id)