Textarea
Textarea
PTextarea expands with content and supports validation feedback.
Demo
Usage
<PTextarea v-model="notes" help-text="Optional"> Notes</PTextarea>Props
| Prop | Type | Default | Notes |
|---|---|---|---|
value | String | '' | v-model value. |
helpText | String | '' | Helper copy below the input. |
errorText | String | '' | Override validation message. |
resize | Boolean | false | Enable manual resizing. |
Events
| Event | Payload | Description |
|---|---|---|
input | String | Emits text changes. |
valid | Boolean | HTML5 validity state. |
blur | FocusEvent | Emits on blur. |
Slots
| Slot | Description |
|---|---|
| default | Input label text. |