8.x-1.0-rc4 vs drupal-8.0.6

I have used Field Group on many D6 and D7 sites.

Usually in D7 a FIeldset field group one can easily (in either edit and/or page display) set whether the Fieldset is collapsible.

I can't see how to do this under Manage form display or Manage display in D8.

Comments

webel created an issue. See original summary.

webel’s picture

Issue summary: View changes
webel’s picture

Version: 8.x-1.0-rc4 » 8.x-1.x-dev

Same problem (not clear how to set Fieldset collapsible) with 8.x-1.x-dev from 2016-Feb-28.

nils.destoop’s picture

Status: Active » Closed (works as designed)

The collapsible option for fieldsets is indeed removed. Collapsible fieldsets are replaced in core with the 'details' element. A fieldgroup formatter is available for that element. So if you want the original collapsible fieldset, choose 'Details'

webel’s picture

Component: User interface » Documentation
Category: Feature request » Task
Status: Closed (works as designed) » Active

@zuuperman

Thanks for pointing me to the Details options (as the new version of collapsible fieldset group), this is one of the features I use most on all Drupal sites.

I appreciate this is early day in the D8 offerings, but as far as I can tell this is not documented yet.

It is not mentioned at https://www.drupal.org/project/field_group under Available group types..

It is also AFAIK not mentioned yet at your docs pages: Field group for Drupal 7.

And there is no main README under /field_group/ when you install it yet.

Carlos Miranda Levy’s picture

Documenting this is indeed required.
It took me a lot of unsuccessful testing, assuming it had been moved to HTML Element, and trying out all sorts of css combinations, I finally found this issue.

It can be as simple as adding the following two lines:

On Drupal 8, the old Collapsible fieldsets with default open or closed state are now called "Details".
Tick "Display element open by default." if you want the fieldset open by default, otherwise it will be closed by default.

nils.destoop’s picture

Status: Active » Fixed

I added your text in the fieldgroup notes. The readme was also added and updated with the info.
I removed the reference to those documentation pages, as they are drupal 7 only.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.