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

open

Table of contents

Description:

This key defines whether the context box is open to display text content by default.

By default, this key is false (i.e., closed).

Appears in:
└── context
    └── open
Type:
boolean
Default value:
false
Examples:

In this example, we want the context box to be open by default so users can immediately see the help information.

Copied to clipboard
_inputs:
  seo_description:
    type: text
    label: SEO Description
    context:
      open: true
      title: SEO Guidelines
      icon: info
      content: >-
        Keep descriptions between 150-160 characters for optimal search engine
        display.
{
  "_inputs": {
    "seo_description": {
      "type": "text",
      "label": "SEO Description",
      "context": {
        "open": true,
        "title": "SEO Guidelines",
        "icon": "info",
        "content": "Keep descriptions between 150-160 characters for optimal search engine display."
      }
    }
  }
}
Open in a new tab