This widget represents an input HTML element of type "file". It is used for selecting files
from the operating system, typically for the purpose of uploading. It is wrapped by the
FileSelect form control.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Extends
Mixes In
- external:dojo/_TemplatedMixin
- module:alfresco/core/Core
Members
-
cssRequirements :object[]
-
An array of the CSS files to use with this widget.
Type:
- object[]
- Default Value:
- [{cssFile:"./css/Label.css"}]
- Source:
-
filterMimeType :string
-
The accept attribute to specify the types of files to accept (that can be submitted through a file upload). By default accept all file types. Possible values: ".gif, .jpg, .png, .doc" or other file extensions, "application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/msword" and other MIME-types, "audio/*, video/*, image/*".
Type:
- string
- Since:
- 1.0.79
- Source:
-
i18nRequirements :object[]
-
An array of the i18n files to use with this widget.
Type:
- object[]
- Default Value:
- [{i18nFile: "./i18n/Label.properties"}]
- Source:
-
label :string
-
The label to display.
Type:
- string
- Source:
-
templateString :String
-
The HTML template to use for the widget.
Type:
- String
- Source:
Methods
-
getValue()
-
This returns the files attribute of the input element
- Source:
Returns:
The files attribute of the input element