☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

heading

Table of contents

Description:

This key defines the main text for the group shown when collapsed or expanded.

The value is a string that specifies the heading text displayed for the group.

Appears in:
└── [*]
    └── groups
        └── [*]
            └── heading
Type:
string
Examples:

In this example, we have configured a group heading to organize structure inputs under the "Titles" heading.

Copied to clipboard
_structures:
  article_information:
    values:
      - label: Blog
        value:
          title: 
          subtitle: 
          author: 
        groups:
          - heading: Titles
            inputs:
              - title
              - subtitle
          - heading: Details
            inputs:
              - author
{
  "_structures": {
    "article_information": {
      "values": [
        {
          "label": "Blog",
          "value": {
            "title": null,
            "subtitle": null,
            "author": null
          },
          "groups": [
            {
              "heading": "Titles",
              "inputs": [
                "title",
                "subtitle"
              ]
            },
            {
              "heading": "Details",
              "inputs": [
                "author"
              ]
            }
          ]
        }
      ]
    }
  }
}
Open in a new tab