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

type

Table of contents

Description:

This key defines the input type, which controls how this input appears and behaves.

Appears in:
└── _inputs
    └── *
        └── Boolean Input
            └── type
Type:
string Required
Allowed values:
checkbox
switch
Examples:

In this example, we have configured the featured key as a Boolean Input type.

Copied to clipboard
_inputs:
  featured:
    type: switch
{
  "_inputs": {
    "featured": {
      "type": "switch"
    }
  }
}
Open in a new tab