TextArea
A controlled multiline editor.
Props
| Prop | Type | Required |
|---|---|---|
accessibilityHint | string | No |
autocorrect | boolean | No |
contentType | string | No |
description | nullableString | No |
enabled | boolean | No |
keyboard | string | No |
label | string | No |
placeholder | string | No |
presentation | string | No |
semantics | string | No |
validationMessage | nullableString | No |
value | string | No |
Types describe evaluated values. Literal native attributes use the declared decoder; use bind-* for expressions. any still has the semantic constraints listed below. Common document attributes (class, state, show, etc.) are separate from props.
Example
<Column state="{draft:''}"><TextArea label="Draft" model="draft" /></Column>
Defaults, values, and validation
value defaults to an empty string. focus/blur are local commands. Input traits and validation use the same conventions as TextField.
Unknown props, wrong types, missing required props, and unsupported child structure fail validation. Use attributes for evaluated input and diagnostics for recovery.
Events
on-change
change carries {value: ...} with the controlled value. See this primitive’s value rules; model assigns this field before the explicit handler.
Local commands
blur, focus
Keyboard values: default/email/number/decimal/phone. Content types: none/name/email/username/password/newPassword/oneTimeCode. Password content types require secure editing; use TextField for secure single-line entry.