@serenity-is/corelib / MultipleFileUploadEditorOptions
Interface: MultipleFileUploadEditorOptions
Defined in: src/ui/editors/uploadeditors.tsx:507
Options for the MultipleFileUploadEditor.
Extends
Properties
allowNonImage?
optionalallowNonImage:boolean
Defined in: src/ui/helpers/uploadhelper.tsx:412
Whether non-image files are allowed.
Inherited from
FileUploadEditorOptions.allowNonImage
displayFileName?
optionaldisplayFileName:boolean
Defined in: src/ui/editors/uploadeditors.tsx:64
Whether to display the original file name.
Inherited from
FileUploadEditorOptions.displayFileName
dropHint?
optionaldropHint:string
Defined in: src/ui/editors/uploadeditors.tsx:60
The text of the drop box while the editor has no file, in place of "Drop a file here or click to choose" (or "Drop files here..." for a multiple editor), as a text or a local text key.
Inherited from
FileUploadEditorOptions.dropHint
dropHintDetail?
optionaldropHintDetail:string
Defined in: src/ui/editors/uploadeditors.tsx:62
A line under the text of the drop box, e.g. the kind or the size of the files, as a text or a local text key.
Inherited from
FileUploadEditorOptions.dropHintDetail
jsonEncodeValue?
optionaljsonEncodeValue:boolean
Defined in: src/ui/editors/uploadeditors.tsx:509
Whether to JSON-encode the value.
maxHeight?
optionalmaxHeight:number
Defined in: src/ui/helpers/uploadhelper.tsx:400
The maximum image height.
Inherited from
FileUploadEditorOptions.maxHeight
maxSize?
optionalmaxSize:number
Defined in: src/ui/helpers/uploadhelper.tsx:408
The maximum file size in bytes.
Inherited from
FileUploadEditorOptions.maxSize
maxWidth?
optionalmaxWidth:number
Defined in: src/ui/helpers/uploadhelper.tsx:392
The maximum image width.
Inherited from
FileUploadEditorOptions.maxWidth
minHeight?
optionalminHeight:number
Defined in: src/ui/helpers/uploadhelper.tsx:396
The minimum image height.
Inherited from
FileUploadEditorOptions.minHeight
minSize?
optionalminSize:number
Defined in: src/ui/helpers/uploadhelper.tsx:404
The minimum file size in bytes.
Inherited from
FileUploadEditorOptions.minSize
minWidth?
optionalminWidth:number
Defined in: src/ui/helpers/uploadhelper.tsx:388
The minimum image width.
Inherited from
FileUploadEditorOptions.minWidth
originalNameProperty?
optionaloriginalNameProperty:string
Defined in: src/ui/helpers/uploadhelper.tsx:416
The name of the property holding the original file name.
Inherited from
FileUploadEditorOptions.originalNameProperty
toolbar?
optionaltoolbar:boolean
Defined in: src/ui/editors/uploadeditors.tsx:55
Whether the editor shows its toolbar with the select file (and delete) buttons, as it did before, instead of a
drop box while it has no file and buttons by its files. By default it shows it only when its toolbar has buttons
of its own besides the built-in ones, e.g. ones that a subclass adds in getToolButtons. The default can be changed
for all the editors with FileUploadEditor.defaults.toolbar and MultipleFileUploadEditor.defaults.toolbar.
Inherited from
FileUploadEditorOptions.toolbar
uploadIntent?
optionaluploadIntent:string
Defined in: src/ui/editors/uploadeditors.tsx:66
Upload intent for the upload service.
Inherited from
FileUploadEditorOptions.uploadIntent
uploadUrl?
optionaluploadUrl:string
Defined in: src/ui/editors/uploadeditors.tsx:68
Upload URL.
Inherited from
FileUploadEditorOptions.uploadUrl
urlPrefix?
optionalurlPrefix:string
Defined in: src/ui/editors/uploadeditors.tsx:70
URL prefix for file links.