(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

File Upload

Overview

File Upload Overview

Specs

Tokens

Token Description
displayName Display name in structure panel
labelTranslations Button text with i18n
disabled Disable upload interaction
hidePreview Hide file thumbnails/previews
buttonSize Button size: medium/large/extra_large
buttonType Button style: primary/secondary/ghost
hidden Keep in form but not visible
saveInLocalStorage Persist files in local storage
defaultValue Initial file data on reset
readonly Show files but block changes
paddingClass Spacing via CSS classes
dataField Field name in submitted form data
multiple Allow selecting multiple files
accept Restrict accepted file types
controlsRequestType Send data via BODY/HEADER/PATH
authorizationDisable Policy set to disable by permission
visibilityPolicySetId Policy set controlling visibility
events Configurable component events
ON_VALUE_CHANGE (Events) Fires when files added/removed
ON_INIT_BASED_ON_USER_VIEW (Events) Fires on init in user view mode
ON_INIT (Events) Fires on component initialization
ON_DESTROY (Events) Fires on component removal
dataTestId Testing hook identifier
enableAsHotspot Enable guided tour hotspot
guidedTourHotSpotTitle Hotspot title (i18n)
guidedTourHotSpotDescription Hotspot description (i18n)

Structure

Labled File Upload for clarity

(Configured in General Properties)

(Configured in Non-Visual Properties)

Example configurations in Non-Visual Properties

(Configured in Visual Properties)

Styling

(Configured in Visual Properties)

File Upload style options

Actions & Variants

(Configured in Visual Properties)

(Configured in Non-Visual Properties)

(Configured in Events)

Authorization

(Configured in Authorization)

Tests

(Configured in Testing Hooks)

Guidelines

Accessibility

[NO DATA AVAILABLE]