The TextArea component lets users enter long form text which spans over multiple lines.
View source codeChangeEventHandler<HTMLTextAreaElement>Handler that is called when the value changes.
stringThe current value (controlled).
stringclassName for the element
stringThe id of the TextArea
booleanWhether the TextArea is disabled.
Default: falsebooleanWhether the TextArea is invalid.
Default: falsebooleanWhether the TextArea should be read only.
Default: falsenumberThe maximum number of characters supported by the TextArea.
stringThe name of the TextArea, used when submitting an HTML form
FocusEventHandler<HTMLTextAreaElement>Handler that is called when the element loses focus.
FocusEventHandler<HTMLTextAreaElement>Handler that is called when the element receives focus.
KeyboardEventHandler<HTMLTextAreaElement>Handler that is called when a key is pressed.
stringTemporary text that occupies the TextArea when it is empty.
Ref<HTMLTextAreaElement>numberThe number of visible text lines for the control.
Default: 3