Appearance
FormTextarea
A component of the Form category.
ts
import { FormTextarea } from '@zairakai/vue-components/Form'Usage
vue
<FormTextarea name="…" />Props
| Name | Type | Default | Description |
|---|---|---|---|
id | string | ||
name | string | required | |
form | string | ||
modelValue | string | ||
placeholder | string | ||
required | boolean | false | |
disabled | boolean | false | |
readonly | boolean | false | |
autofocus | boolean | false | |
class | string | ||
rows | number | 4 | |
cols | number | 50 | |
maxlength | number | ||
wrap | string | ||
dirname | string | ||
label | string | ||
labelAfter | boolean | false | |
fieldClass | string | ||
iconBefore | string | ||
iconAfter | string | ||
prefix | string | ||
suffix | string | ||
supportingText | string | ||
supportingCounter | string | ||
errorMessage | string | ||
field | boolean | true |
Events
| Name | Description |
|---|---|
update:modelValue | |
isValid |
See Theming for the class hooks and the data-* state of the components.