I have a form that includes a number of fields in various subpanels, It's been in use for awhile and always worked fine. Today I was working on an update where I was adding two new radiogroups to the form. The problem I'm having is that one of the radiogroups is not getting fully rendered when the form is created. In particular, the array of radio buttons in the items attribute of the config object is not getting converted to a MixedCollection. So for example, the code tries to set the values of the fields and throws an error because the radiogroup calls the getName function, which tried to use the MixedCollection's "first" method, and that fails because the items attribute is still just an an array and not a MixedCollection. I've tried any number of things to resolve this. Here is the code for the radiogroup:
Interestingly, if I change the item to a checkboxgroup it works. The form is in a panel with a card layout. Originally it was not the initially active panel, and I was not using deferred render. I've tried using deferred render and I've tried making it the initially active panel. None of these have fixed the issue. I should also mention that before today it was using a number of radiogroups without an issue. If anyone has some ideas on what's going on, I'd be grateful for any help.
fieldLabel: 'End of File Action',
boxLabel: 'Start Next'