Textarea
Multi-line text with optional auto-size, clear button, and character count.
Basic usage
Auto-size
With count
API
Props
| Name | Type | Default | Description |
|---|---|---|---|
value | TextareaValue | "" | — |
label | string | "" | — |
placeholder | string | "" | — |
rows | number | 3 | — |
disabled | boolean | false | — |
readonly | boolean | false | — |
bordered | boolean | true | — |
allowClear | boolean | false | — |
maxLength | union | null | — |
showCount | boolean | false | — |
autoSize | AutoSize | false | — |
assistiveText | string | "" | — |
alertMessage | string | "" | — |
state | DataEntryState | "default" | — |
size | EpSize | undefined | — |
clearLabel | string | "Clear" | — |
Events
| Event | Payload | Description |
|---|---|---|
update:value | {"names":["TextareaValue"]} | — |
change | {"names":["TextareaValue"]} | — |
clear | — | — |
focus | {"names":["FocusEvent"]} | — |
blur | {"names":["FocusEvent"]} | — |
Slots
This component has no named slots.
