-1👍
I think you’re using Vuetify
, isn’t it? You could use the "rules" attribute for v-text-field
tags.
Rules can be defined as an array of conditions which return booleans
. See: rules documentation here.
- [Vuejs]-Vue watching fields triggered only from UI
- [Vuejs]-Mongoose Validation using Feathersjs and Vue
Source:stackexchange.com