Recent searches

in

allow_create

On this page

This key toggles whether CloudCannon will allow new text values to be created at edit time.

Setting this key to true will allow new text values to be created at edit time.

Appears in#

├── Select Input
│   └── options
│       └── allow_create
└── _inputs
    └── *
        └── Multiselect Input
            └── options
                └── allow_create

Type#

boolean

Default value#

false

Examples#

In this example, CloudCannon will allow users to add new values to a Select Input.

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