Default at select fields not work
somehow at v3 the default at select field not work
as simple as
it still show "select an option"

15 Replies
Is this in edit or create context
I use it at custom page
I think not work at both
Solution
did you add
$this->form->fill()
to the mount method?Are you using a
statePath
?yes I have $this->fillForm(); at mount
could you share the whole code?
no for this case
Did you add
public $status
property?no
did you try to add this?
but i just notice, it work if I declare it in just simple case. but in my case I need some logic like
in this case it not work
Didn't it work?
ya this case work after I declare
that's it. If you have another issue, it isn't related to the
default()
I thinkah here is my mistake
thank you