In my project, I am faced with the challenge of validating inputs only after a submit button is clicked. However, I have noticed that the required rule is being activated after losing focus. This issue arises while using VeeValidate in Vue.js.
Here is the HTML code snippet for the input:
<input
name="Email"
v-validate
data-vv-rules="required|email"
id="email"
type="email"
v-model="email"
placeholder="Email "
>
For handling validation in JavaScript:
this.$validator.validateAll().then(success => {
})