Skip to main content

readonly

Description

defines whether a textarea is read-only

Type

boolean

Default value

false

Example

<Textarea value="A display-only field" readonly={true}/>

Details

The property can also be enabled without a value:

<Textarea value="A display-only field" readonly/>

Related article: Setting the read-only mode