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

disable_direct_input

Table of contents

Description:

This key toggles whether CloudCannon will prevent typing into the Text Input, while still allowing context menu options to change the value.

Setting this key to true will prevent typing into the Text Input.

Appears in:
└── _inputs
    └── *
        ├── File Input
        │   └── options
        │       └── disable_direct_input
        └── URL Input
            └── options
                └── disable_direct_input
Type:
boolean
Default value:
false
Examples:

In this example, CloudCannon will prevent typing into the Text Input url.

Copied to clipboard
_inputs:
  url:
    type: url
    options:
      disable_direct_input: true
{
  "_inputs": {
    "url": {
      "type": "url",
      "options": {
        "disable_direct_input": true
      }
    }
  }
}
Open in a new tab