DEV Community

Discussion on: Form Validation with Vuetify in a Vue App

Collapse
peppeg85 profile image
peppeg85

great example, thank you! but how can i add the rule for a confirm password input that checks the password in put AND a confirm passord input?

Collapse
peppeg85 profile image
peppeg85

solved, simply add the rule

confirmPassword: value => {
return value === this.password || 'Passwords must match'
}