- πͺπΈSpain Carlitus
Tested and for the moment it works well.
Without a Checkbox, for example, works well with a details parent but not a Radios with a details parent.
With the #20 patch it works well with the Radios child.
I think getting this is a big step for Drupal, since as @Anybody says many times you can't modify the form structure but you do need to be able to group it.
- π©πͺGermany Anybody Porta Westfalica
@Grimreaper and @Pancho any ideas how we can take this issue forward and perhaps get some frontend framework manager feedback on this?
I think before we make the next coding steps here, we should get some feedback from the core team, what they think about the key aspects?
- πͺπΈSpain Carlitus
I've see that this doesn't work with managed_file and i don't know why. The processGroup and preRenderGroup is added like in the other form elements.
- πͺπΈSpain Carlitus
New patch to support managedFile and Ajax Callback.
I think this is not the best way to do it, but now al least works in my manual tests. I am sure that a person with more control of the core can do it in the most appropriate way.
I've see that the problem was when in the ajax callback to upload the file, the preRenderGroup was not needed and i've make a unset of the #groups in uploadAjaxCallback to skip this function.