Recent searches

in

disable_direct_input

On this page

This key toggles whether CloudCannon will prevent typing into the text field of a File or URL Input, while still allowing context menu options to change the value.

Setting this key to true will prevent typing into the input text field.

Appears in

├── URL Input
│   └── options
│       └── disable_direct_input
└── _inputs
    └── *
        └── File Input
            └── options
                └── disable_direct_input

Type

boolean

Default value

false

Examples

In this example, CloudCannon will prevent typing into the URL 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