Textarea
Text of several lines. It looks and behaves like an input, and works inside an OField the same way.
vue
<OField label="About you" hint="Up to 160 characters" :error="error">
<OTextarea v-model="bio" placeholder="A few words" />
</OField>It is three rows high and the user can drag it taller. Every attribute goes to the <textarea>: rows, maxlength, placeholder.
Hotkeys are ignored while the user types in it, as in any field.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
v-model | string | — | |
invalid | boolean | false | A danger ring. Inside an OField with an error it is set for you |