TextArea

Beta notice: This page is being built.Edit on GitHub(opens in new tab)

Edits themed multi-line text with native form serialization. Required fields cannot be blank.

longlink docs component "TextArea"

Example

Properties

TextArea - Properties
labelstring
Label text for the textarea. Always rendered for accessibility.
descriptionstring
Helper text displayed between the label and textarea.
namestring
Includes the themed control's value under this form submission name.
requiredboolean
Requires a value before native form submission.
disabledboolean
Prevents interaction and excludes the field from submission.
valuestring
Current value of the textarea.
defaultValuestring
Initial value.
onChange(value: string) => void
Callback fired when the textarea value changes.
placeholderstring
Placeholder text shown when the textarea is empty.
rowsnumber
Number of visible text rows.
maxLengthnumber
Maximum Unicode code points, matching Python string length. Validates without truncating input.
autoCompletestring
Native autocomplete hint.