v-model
empty string
String
Number
Array
Boolean
Number
v-model
base
"input"
String
clearable
false
Boolean
'X'
button that resets model to the default valueclose-button (attributes)
{}
Object
v-close-button
component (clear button)custom-clearable
false
Boolean
'X'
button that only emits the click:clear-button
event. It does not modify model valueform-text (attributes)
{
"class": "absolute"
}
Object
v-form-text
component (validation messages)icon
empty string
String
Object
v-icon
componentsinline
false
Boolean
is-loading
false
Boolean
use-loading
proplabel
empty string
String
mod-close-button-wrapper
empty string
String
mod-icon
empty string
String
mod-input
empty string
String
mod-label
empty string
String
name
empty string
String
no-messages
false
Boolean
true
validation messages are not displayedrole
undefined
String
rules
[]
Object
single-line-message
false
Boolean
rules
in rules propspinner (attributes)
{}
Object
v-spinner
component (loader)use-loader
false
Boolean
validate-mode
"silent"
String
'silent'
or 'eager'
. See Form Validation for explanation and examplesvalidate-on
"blur"
String
'blur'
, 'immediate'
or 'form'
. See Form Validation for explanation and examplesvalidation-state
null
String
'valid'
, 'invalid'
, empty string
for default state or null
for component controlled statevariant
empty string
String
mod-*
propswidth
empty string
String
update:modelValue
v-model
of componentvalidation:status
object
with validation result detailsvalidation:messages
validation:state
click:clear-button
custom-clearable
prop is set)click:icon
click:indicator
label
label
(from label prop)icon
prepend
append
Input elements can be styled depending on the state of wrapper element with tailwind group-*
modifiers. In the example clear button appears on hover and icon appears after input is focused.