Forms
Textarea
The multi-line field in three heights, with an optional counter.
import { EcoTextarea } from "vue-ecosphere"
Textarea
With a counter
Only where a real limit exists. Type to watch the count.
Shown at the top of the request.61/140
Filled, long
Over the limit
The counter turns is-over and the fix goes in the error beside it. Trim the text to clear it.
Trim it to 120 characters.132/120
API
| Name | Type | Default | Description |
|---|---|---|---|
v-model | string | "" | The text. |
size | "sm" | "md" | "lg" | "md" | A sentence, a paragraph, a handover note. |
maxlength | number | — | Shows the charcount, is-over past the limit. Not enforced natively. |
label / required / hint / error / invalid / first | — | — | Field props; the error replaces the hint. |
placeholder / disabled / readonly / id | — | — | Native textarea attributes. |