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

disable_upload_file_in_file_browser

Table of contents

Description:

This key toggles whether CloudCannon will prevent file uploads inside the "Select existing file/image" file browser modal window.

Setting this key to true will prevent file uploads inside the file browser modal window.

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

In this example, CloudCannon will disable the option to upload files inside the file browser modal window.

Copied to clipboard
_inputs:
  image:
    type: file
    options:
      disable_upload_file_in_file_browser: true
{
  "_inputs": {
    "image": {
      "type": "file",
      "options": {
        "disable_upload_file_in_file_browser": true
      }
    }
  }
}
Open in a new tab