On a form for a content type, I had Title inside a group, then decided to move it out instead. I dragged Title out of (above) the group it was in, and everything appeared as it should. However, when I saved the form, Title was back inside the group.

The work-around is to "Show row weights" and manually change the parent to "- None -". After saving, it stayed out of the group.

Comments

ExTexan created an issue. See original summary.

ExTexan’s picture

Title: Moving a field out of a group doesn't work » Moving "title" out of a group doesn't work

It seems that it is only title that exhibits this problem. I moved other custom fields out of groups, by dragging, and that worked fine.

Kal_El’s picture

Sorry - wrong comment

kdechant’s picture

I have the same problem on Field Group 3.0-beta1 and Drupal 8.5.0. I can move other fields out of a group, and move TItle from one group to another, but I can't move Title from a group to the top level.

It seems that when you drag title out of a group, its "Parent" dropdown doesn't get cleared by the JS. To reproduce:
- Move Title into a group
- Save
- Drag Title back out of the group, to the top level
- Click "Show row weights"
- Observe that the Parent of Title is still the group it was in before you dragged

My current workaround is this:
- Click "Show row weights"
- Using the select element (not by dragging), change the "Parent" of "Title" to "-none-"
- Save

Alternate workaround, in case that doesn't work:
- Go to your exported config directory (where 'drush cex' puts its files)
- Edit core.entity_form_display.node.{{your_content_type}}.yml
- Look for the "third_party_settings" section
- Remove "title" from the "children" array of any field group that it appears in
- Re-import your config with 'drush cim'
- Go back to the "Edit Form Display" page and Title should now be outside any group

swentel’s picture