Textarea
A multi-line text input with optional auto-sizing support.
Usage
Autosize
With Max Height
Props
| Prop | Type | Default | Description |
|---|---|---|---|
modelValue | string | number | - | The textarea value. Use with v-model. |
autosize | boolean | false | Automatically resize the textarea to fit content. |
maxHeight | string | - | Maximum height when autosize is enabled (CSS value). |
Events
| Event | Payload | Description |
|---|---|---|
update:modelValue | string | number | Emitted when the value changes. |