Radio default not working on form widget
I have a widget with a form in it and it has radio buttons. I can't seem to get the default to work. I've tried adding a mount method and setting it there, I've tried adding a mutateFormDataBeforeFill method as well and that doesn't work either. Not sure what I'm doing wrong.
I had a similar problem the other day with a resource class, but trying the same fix here doesn't seem to work.
1 Reply
Solution
I was missing $form->statePath('data') apparently.