Form component — Vuetify.js
vuetify.cn › en › componentsThe internal v-form component makes it easy to add validation to form inputs. All input components have a rules prop which takes an array of functions. These functions allow you to specify conditions in which the field is valid or invalid. Whenever the value of an input is changed, each function in the array will receive the new value.
Vuetify — A Material Design Framework for Vue.js
v2.vuetifyjs.com › en › componentsVuetify includes simple validation through the rules prop. The prop accepts a mixed array of types function, boolean and string. When the input value changes, each element in the array will be validated. Functions pass the current v-model as an argument and must return either true / false or a string containing an error message.
Input component — Vuetify.js
vuetify.cn › en › componentsThe v-input component gives you a baseline to create your own custom inputs. It consists of a prepend/append slot, messages, and a default slot. It is recommended that you extend this component, but it can be used as a standalone. Usage v-input has 4 main areas. The prepended slot, the appended slot, the default slot, and messages.