Relative Content

Tag Archive for formsvue.jsvalidationvuetify.js

vuetify v-form passes validation when it shouldn’t

I’m currently making a sign up form that should only submit when all input fields pass the validation. I’ve written rules to validate the fields and they are working as intended. The problem lies in the signUp() method that is called when the submit button is clicked. Even if one of the fields is left blank, this.$refs.form.validate() still evaluates to true (the success alert shows up) and I’m not sure why. Any help is appreciated!