[Vuejs]-Vue vee-validate validate input forms with router-link button

0👍

✅

Yes, you can check if all validation rules have been met. Use the following code.

this.$validator.validateAll().then(isValidationSuccess => {
    if (isValidationSuccess) {
        // Do something on validation success
    } else {
        // Validation failed
    }
})

Leave a comment