File component
Overview
The File component implements the HTML <input type="file">
form field.
File configuration
Extends all abstract
configuration.
Option | Description | Type | Default |
---|---|---|---|
component
|
The path to the component’s JS constructor in terms of RequireJS. | String |
Magento_Ui/js/form/element/text
|
label
|
Field label | String |
''
|
links
|
Links the component's value property with
provider using the declared in the dataScope
property of the parent component.
|
Object
|
false
|
disabled
|
Initial component's state. When set to true , users can't
take action on the element.
|
Boolean |
false
|
visible
|
Initial component's visibility. When set to false , the
display: none CSS style is added to the
component's DOM block.
|
Boolean |
true
|