UploadPropsPremium
Represents the props of the KendoReact Upload component.
Name | Type | Default | Description |
---|---|---|---|
accept? |
|
Sets the Example: jsx
| |
actionsLayout? |
|
Specifies the layout of the action buttons. Defaults to Example: jsx
| |
ariaDescribedBy? |
|
Identifies elements that describe the Upload component, similar to the Example: jsx
| |
ariaLabelledBy? |
|
Identifies elements that label the Upload component, similar to the Example: jsx
| |
autoUpload? |
|
By default, the selected files are immediately uploaded.
To change this behavior, set | |
batch? |
|
When enabled, all files in the selection are uploaded in one request. Any files that are selected one after the other are uploaded in separate requests. | |
className? |
|
Adds a custom CSS class to the Upload container element. Example: jsx
| |
defaultFiles? |
|
Provides the initial list of files to be displayed in uncontrolled mode. Example: jsx
| |
disabled? |
|
Disables the Upload component. Defaults to Example: jsx
| |
files? |
|
Provides the list of files to be displayed in controlled mode. Example: jsx
| |
id? |
|
Specifies the Example: jsx
| |
listItemUI? |
|
Customizes the rendering of list items in the file list. Example: jsx
| |
multiple? |
|
Enables or disables the selection of multiple files. Defaults to Example: jsx
| |
onAdd? |
|
Triggered when new files are selected for upload. Example: jsx
| |
onBeforeRemove? |
|
Triggered before a file removal request is made. Can be used to add extra data to the request. Example: jsx
| |
onBeforeUpload? |
|
Triggered before a file upload request is made. Can be used to add extra data to the request. Example: jsx
| |
onCancel? |
|
Triggered when the user cancels an upload in progress. Useful for custom cancellation logic. Example: jsx
| |
onProgress? |
|
Triggered when the upload progress of a file changes. Example: jsx
| |
onRemove? |
|
Triggered when files are removed. May include a server response if applicable. Example: jsx
| |
onStatusChange? |
|
Triggered when the status of files changes. May include a server response if applicable. Example: jsx
| |
removeField? |
|
Sets the | |
removeHeaders? |
|
Configures the | |
removeMethod? |
|
Sets the request method of the | |
removeUrl? |
|
Sets the URL of the endpoint for the | |
responseType? |
|
Sets the expected response type
of the server.
Used to parse the response appropriately.
Defaults to | |
restrictions? |
|
Configures file restrictions such as allowed extensions and maximum file size. Example: jsx
| |
saveField? |
|
Sets the | |
saveHeaders? |
|
Configures the | |
saveMethod? |
|
Sets the | |
saveUrl? |
|
Sets the URL of the endpoint for the upload request.
The requested | |
selectMessageUI? |
|
Customizes the content of the add button in the Upload component. Example: jsx
| |
showActionButtons? |
|
Toggles the visibility of action buttons when Example: jsx
| |
showFileList? |
|
Toggles the visibility of the file list in the Upload component. Example: jsx
| |
tabIndex? |
|
Sets the Example: jsx
| |
withCredentials? |
|
Configures whether credentials (cookies, headers) will be sent for cross-site requests.
Defaults to |