Skip to content

Properties

PropertyTypeDescription
acceptedFileTypesArray<string>(required) List of accepted file types.
filesAmountLimitnumber(optional) Defines the amount of files the user can select and upload. Defaults to 100.
fileMaxSizenumber(optional) fileMaxSize is max size of each file in MB. Defaults to 5 MB.
titlestring(optional) Custom text property. Replaces the default title.
textstring(optional) Custom text property. Replaces the default text.
skeletonboolean(optional) Skeleton should be applied when loading content.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.

Translations

All translation keys listed in the translations table below, can be used as a component property (like title or text).

More info about translations can be found in the general localization and Eufemia Forms localization docs.

Keynb-NOen-GB
Upload.titleLast opp dokumenterUpload documents
Upload.textDra & slipp eller velg hvilke filer du vil laste opp.Drag & drop your files or choose files to upload.
Upload.textSingularDra & slipp eller velg hvilken fil du vil laste opp.Drag & drop your file or choose which file to upload.
Upload.fileTypeDescriptionTillatte filformater:Allowed formats:
Upload.fileSizeDescriptionMaks filstørrelse:Max. filesize:
Upload.fileAmountDescriptionMaks antall filer:Max. number of files:
Upload.fileSizeContent%size MB%size MB
Upload.buttonTextVelg filerChoose files
Upload.buttonTextSingularVelg filChoose file
Upload.loadingTextLaster oppUploading
Upload.errorLargeFileFilen du prøver å laste opp er for stor, vi støtter ikke filer større enn %size MB.The file you are trying to upload is too big, the maximum size supported is %size MB.
Upload.errorAmountLimitDet er begrenset hvor mange filer du kan laste opp (%amount).There is a limit to how many files you can upload (%amount).
Upload.errorUnsupportedFileFilen du prøver å laste opp er ikke støttet.The file you are trying to upload is not supported.
Upload.deleteButtonSlettDelete
Upload.fileListAriaLabelopplastede fileruploaded files
Upload.errorRequiredDu må laste opp minst en fil.You must upload a file.
Upload.errorInvalidFilesFjern alle filer som har feil.Remove all files that have errors.