v-modelempty stringStringNumberArrayBooleanNumberv-modelbase"input"StringclearablefalseBoolean'X' button that resets model to the default valueclose-button (attributes) {}Objectv-close-button component (clear button)custom-clearablefalseBoolean'X' button that only emits the click:clear-button event. It does not modify model valueform-text (attributes) {
"class": "absolute"
}Objectv-form-text component (validation messages)iconempty stringStringObjectv-icon componentsinlinefalseBooleanis-loadingfalseBooleanuse-loading proplabelempty stringStringmod-close-button-wrapperempty stringStringmod-iconempty stringStringmod-inputempty stringStringmod-labelempty stringStringnameempty stringStringno-messagesfalseBooleantrue validation messages are not displayedroleundefinedStringrules[]Objectsingle-line-messagefalseBooleanrules in rules propspinner (attributes) {}Objectv-spinner component (loader)use-loaderfalseBooleanvalidate-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-statenullString'valid', 'invalid', empty string for default state or null for component controlled statevariantempty stringStringmod-* propswidthempty stringStringupdate:modelValuev-model of componentvalidation:statusobject with validation result detailsvalidation:messagesvalidation:stateclick:clear-buttoncustom-clearable prop is set)click:iconclick:indicatorlabellabel (from label prop)iconprependappendInput 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.