Skip to content

FormInput ​

A component of the Form category.

ts
import { FormInput } from '@zairakai/vue-components/Form'

Usage ​

vue
<FormInput name="…" />

Props ​

NameTypeDefaultDescription
typestring'text'
idstring
formstring
valuestring|number|booleannull
modelValuestring|number|boolean|nullnull
namestringrequired
placeholderstring
liststring
requiredbooleanfalse
autocompletestring
patternstring
minstring
maxstring
stepstring
maxlengthnumber
minlengthnumber
acceptstring
disabledbooleanfalse
readonlybooleanfalse
multiplebooleanfalse
autofocusbooleanfalse
classstring
widthstring
heightstring
sizenumber
labelstring
labelAfterbooleanfalse
fieldClassstring
fieldbooleantrue
iconBeforestring
iconAfterstring
prefixstring
suffixstring
errorMessagestring

Events ​

NameDescription
update:modelValue
isValid
focus
blur

Slots ​

NameDescription
trailing-content

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.