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

label

Table of contents

Description:

This key defines the bold title text above an Input.

Appears in:
└── _inputs
    └── *
        ├── Text Input
        │   └── label
        ├── Textarea Input
        │   └── label
        ├── Code Input
        │   └── label
        ├── Color Input
        │   └── label
        ├── Boolean Input
        │   └── label
        ├── Number Input
        │   └── label
        ├── Range Input
        │   └── label
        ├── Rich Text Input
        │   └── label
        ├── Date/Datetime Input
        │   └── label
        ├── Time Input
        │   └── label
        ├── File Input
        │   └── label
        ├── URL Input
        │   └── label
        ├── Select Input
        │   └── label
        ├── Multiselect Input
        │   └── label
        ├── Choice Input
        │   └── label
        ├── Multichoice Input
        │   └── label
        ├── Object Input
        │   └── label
        └── Array Input
            └── label
Type:
string
Examples:

In this example, we want to customize the label for our page_title Input to be more descriptive.

Copied to clipboard
_inputs:
  page_title:
    type: text
    label: Article Title
    comment: Enter the main title for this article
{
  "_inputs": {
    "page_title": {
      "type": "text",
      "label": "Article Title",
      "comment": "Enter the main title for this article"
    }
  }
}
Open in a new tab