You are reading the documentation for version 2.2. Magento 2.3 is the latest version available. Ensure you are reading the documentation for your version of Magento.

Text component

The Text component displays text data in the components like Form and DynamicRows.

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
disabled Initial component's state. When set to true, users can't take action on the element. Boolean false
label Field label String ''
  • value
  • Links the component's "value" property with provider using the declared in the "dataScope" property of the parent component. Object
  • String
  • ${ $.provider }:${ $.dataScope }
    visible Initial component's visibility. When set to false, the "display: none" CSS style is added to the component's DOM block. Boolean true