disabled
Description
Optional. Defines whether the Text control is disabledUsage
disabled?: boolean;
Parameters
- true - the Text control is disabled
- false - (default) the Text control is enabled
Example
<Text disabled={true} />
Details
It is also possible to set a text input to the disabled state by declaring the property with no value:
<Text disabled />
Related article: Setting the disabled state
Related sample: Text Inputs