Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates.
To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.

File component

The File component implements the HTML <input type="file"> form field.

Configuration options

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
  • value
Links the component's value property with provider using the declared in the dataScope property of the parent component. Object
  • Boolean
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
Updated