- Description:
This key defines whether a group is collapsed or expanded when first viewed.
The value is a boolean. When
true, CloudCannon displays the group in a collapsed state. Whenfalse, CloudCannon displays the group in an expanded state.By default, CloudCannon displays groups in an expanded state.
- Appears in:
- Type:
boolean- Default value:
false- Examples:
In this example, we have configured the "Details" group to be collapsed by default.
Copied to clipboard_structures: article_information: values: - label: Blog value: title: subtitle: author: groups: - heading: Titles collapsed: true inputs: - title - subtitle - heading: Details inputs: - author{ "_structures": { "article_information": { "values": [ { "label": "Blog", "value": { "title": null, "subtitle": null, "author": null }, "groups": [ { "heading": "Titles", "collapsed": true, "inputs": [ "title", "subtitle" ] }, { "heading": "Details", "inputs": [ "author" ] } ] } ] } } }