Questions tagged [vee-validate]

For question related with VeeValidate library for Vue.js.

VeeValidate is a validation library for Vue.js. It has plenty of validation rules out of the box and support for custom ones as well. It is template based so it is similar and familiar with the HTML5 validation API. You can validate HTML5 inputs as well as custom Vue components.

It is also built with localization in mind.

610 questions
0
votes
1 answer

Vue.js input validation w VeeValidate - How to avoid onInput action while invalid

I am validating a input field ( required , min length 3 ) with VeeValidate plugin.. it's working fine but how I can avoid the onInput action to be called ( to avoid commit in store when the input becomes invalid ( as soon as input aria-invalid…
user762579
-1
votes
1 answer

how to handle duplicated v-slot names in vee-validate

Let's say that I have a code like:
rzlvmp
  • 7,512
  • 5
  • 16
  • 45
-1
votes
1 answer

How to display the correct credit card badge based on the credit card number from the v-model?

I'm using vee-validate and v-mask on this input
Fabio Zanchi
  • 924
  • 3
  • 16
  • 32
-1
votes
2 answers

how do i integrate vee-validate v.2 with nuxt-i18n?

i am using vee-validate v.2 and i want to localize error massages . i have wrote a plugin like this import {configure} from 'vee-validate' export default function ({app}){ configure({ defaultMessage:(field,values)=>{ …
-1
votes
2 answers

Stopping Vue with veevalidate returning unexpected token export?

Nuxt with server side rendering. Typescript and vee-validate 3.4.9. This code is fine extend('positive', value => { return value >= 0; }); Add the default then I get the Unexpected token 'export' error extend('required', { ...required }); What I…
Interlated
  • 5,108
  • 6
  • 48
  • 79
-1
votes
1 answer

Vee Validate Custom Rules not working in Laravel. Uncaught (in promise) Error: No such validator 'xxx' exists

I have set up a Laravel with VueJs as a SPA. Also I integrated Vee Validate to validate all my form inputs. The default rules work as expected. However I don't seem to get my custom rules to work. I always get the error message: Uncaught (in…
-1
votes
1 answer

VeeValidate, Vuetify | TypeError: compute is not a function

I'm having an issue with login form validation using VeeValidate & Vuetify and don't have idea what's wrong. I have also Vuex set up and working if it matters. I tried to use many VeeValidate & Vuetify example forms but always ended with this…
HellBurner
  • 11
  • 1
-1
votes
1 answer

Vee-Validate: Dependent dropdown with multiple conditions

I have three dependent inputs ways for my form that requires validation. First Dropdown Second Dropdown Third Free Text I need help in implementing the required_if condition as the syntax is a bit confusing to make put it to work, and resolve the…
Shantanu
  • 839
  • 13
  • 27
-1
votes
1 answer

How can I translate error messages in veevalidate?

In laravel I am using vue and veevalidate to validate the forms in real time. The problem is that the error messages appear in English on the veevalidate page, the example is not very clear to me. Can someone guide me? This is example of my…
Roberto
  • 23
  • 1
  • 3
-2
votes
1 answer

In vee-validate,how can i validate part of form?

My English is not very well.When I use 'this.$validator.validate()',I don't want to validate all inputs in page.How can I validate some of them?
dadada
  • 1
1 2 3
40
41