☁️ 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
    └── *
        └── Select Input
            └── type
Type:
"select" Required
Examples:

In this example, we have configured the category key as a Select Input type.

Copied to clipboard
_inputs:
  category:
    type: select
    options:
      values:
        - Blog
        - News
        - Events
{
  "_inputs": {
    "category": {
      "type": "select",
      "options": {
        "values": [
          "Blog",
          "News",
          "Events"
        ]
      }
    }
  }
}
Open in a new tab