Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute.
For example these elements could contain error or hint message.
To be able to resize the TextArea, you should not set the autoSize property to true .
To be able to resize the component horizontally, add the following inline style to the TextArea:
<TextArearesizable='horizontal'style={{width:'auto'}}/></code></td><tdclass="table-cell-comment">
Defines the resize behavior of the TextArea.
The available options are:
- none — The TextArea cannot be resized.
- vertical — The TextArea can be resized vertically.
- horizontal — The TextArea can be resized horizontally.
- both — The TextArea can be resized both vertically and horizontally.
</td></tr><tr><tdclass="table-cell-name">
#### rounded?
</td><tdtypeclass="table-cell-type"><code>
"null" | "small" | "large" | "medium" | "full"
</code></td><tdclass="table-cell-default"><code>
`medium`
</code></td><tdclass="table-cell-comment">
Configures the `roundness` of the TextArea.
The available options are:
- small
- medium
- large
- full
- null—Does not set a rounded `className`.
</td></tr><tr><tdclass="table-cell-name">
#### rows?
</td><tdtypeclass="table-cell-type"><code>
number
</code></td><tdclass="table-cell-default"></td><tdclass="table-cell-comment">
Specifies an exact height size for the TextArea to take ([see example]({% slug sizing_textarea %})).
</td></tr><tr><tdclass="table-cell-name">
#### size?
</td><tdtypeclass="table-cell-type"><code>
"null" | "small" | "large" | "medium"
</code></td><tdclass="table-cell-default"><code>
`medium`
</code></td><tdclass="table-cell-comment">
Configures the `size` of the TextArea.
The available options are:
- small
- medium
- large
- null—Does not set a size `className`.
</td></tr><tr><tdclass="table-cell-name">
#### style?
</td><tdtypeclass="table-cell-type"><code>
React.CSSProperties
</code></td><tdclass="table-cell-default"></td><tdclass="table-cell-comment">
Sets additional CSS styles to the TextArea.
</td></tr><tr><tdclass="table-cell-name">
#### suffix?
</td><tdtypeclass="table-cell-type"><code>
CustomComponent<any>
</code></td><tdclass="table-cell-default"></td><tdclass="table-cell-comment">
Sets a custom suffix to the TextArea component.
</td></tr><tr><tdclass="table-cell-name">
#### tabIndex?
</td><tdtypeclass="table-cell-type"><code>
number
</code></td><tdclass="table-cell-default"></td><tdclass="table-cell-comment">
Sets the `tabIndex` property of the TextArea.
Defaults to `0`.
</td></tr><tr><tdclass="table-cell-name">
#### valid?
</td><tdtypeclass="table-cell-type"><code>
boolean
</code></td><tdclass="table-cell-default"></td><tdclass="table-cell-comment">
Overrides the validity state of the component.
If `valid` is set, the `required` property will be ignored.
This property is part of the [FormComponentProps]({% slug api_common_formcomponentprops %}) interface.
</td></tr><tr><tdclass="table-cell-name">
#### validationMessage?
</td><tdtypeclass="table-cell-type"><code>
string
</code></td><tdclass="table-cell-default"></td><tdclass="table-cell-comment">
Controls the form error message of the component. If set to an empty string, no error will be thrown.
This property is part of the [FormComponentProps]({% slug api_common_formcomponentprops %}) interface.
</td></tr><tr><tdclass="table-cell-name">
#### validityStyles?
</td><tdtypeclass="table-cell-type"><code>
boolean
</code></td><tdclass="table-cell-default"></td><tdclass="table-cell-comment">
If set to `false`, no visual representation of the invalid state of the component will be applied.
This property is part of the [FormComponentProps]({% slug api_common_formcomponentprops %}) interface.
</td></tr><tr><tdclass="table-cell-name">
#### value?
</td><tdtypeclass="table-cell-type"><code>
string | number | string[]
</code></td><tdclass="table-cell-default"></td><tdclass="table-cell-comment">
Sets the value to be submitted ([see example]({% slug controlled_textarea %})).
</td></tr></tbody></table>