Problem/Motivation
When I have nested fieldgroups in a "form_step" fieldgroup these are shown in every step.
Steps to reproduce
Configure a content-type form display as follows:
- STEP 1 (fieldgroup "form_step")
- group 1 (fieldgroup "html_element")
- group 1.1 (fieldgroup "html_element")
- group 2 (fieldgroup "html_element")
- STEP 2 (fieldgroup "form_step")
- group 3 (fieldgroup "html_element")
- STEP 3 (fieldgroup "form_step")
- group 4 (fieldgroup "html_element")
Fieldgroups won't respect the manage form display and they will be shown in every step.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | nested_fieldgroup_visibility-3349947-3.patch | 1.8 KB | phergo |
Comments
Comment #2
phergo commentedI have created a patch where fieldgroups are added to the $all_children array and the format_type is set to "hidden" for those which are not in the current step.
Comment #3
phergo commentedI have modified the patch to make it compatible with 2.0.0. The patch #2 was generated from the branch 8.x-1.x
Comment #4
phergo commentedComment #5
gutagomez commentedPatch #4 works for me.
Thank you
Comment #6
dmezquiaTested ok patch #4 with:
Field group
Details- Field group
FieldsetComment #7
andrei.vesterliMoved to the 2.0.1 release. All is fine here.
Comment #8
andrei.vesterliComment #10
andrei.vesterli