- Description:
This key toggles whether CloudCannon will disable the context menu option and the drop area for uploading files.
Setting this key to
truewill disable the context menu option and prevent uploading file through drag-and-drop in a File Input.- Appears in:
└── _inputs └── * ├── File Input │ └── options │ └── disable_upload_file └── URL Input └── options └── disable_upload_file- Type:
boolean- Default value:
false- Examples:
In this example, CloudCannon will disable the option to upload a file in the context menu and prevent uploading file through drag-and-drop in a File Input.
Copied to clipboard_inputs: image: type: image options: disable_upload_file: true{ "_inputs": { "image": { "type": "image", "options": { "disable_upload_file": true } } } }