type

On this page

Description:

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

Appears in:
└── 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