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
6
votes
2 answers

How To Validate Select Option With Vee-Validate

Going through vee-validates documentation I don't see anything for validating select inputs. So my question is can you validate selects? Currently what I try does not display an error message... Here is the code
{{…
Rakesh Kohali
  • 275
  • 2
  • 5
  • 17
5
votes
2 answers

vee-validate how to set digit limit between two number?

I am trying to restrict the number of digits a user can input between 3-6. For some reason, I can't find how to do that. this is the code I have to force user to add three digits only
hidar
  • 5,449
  • 15
  • 46
  • 70
4
votes
0 answers

Vee-validate 4, Yup nested object, an error has any type after setting initialValues

I define vee-validate schema using composition api this way: import { useForm, useField } from 'vee-validate' import { object, string } from 'yup' const { handleSubmit, errors } = useForm({ validationSchema: object({ currency:…
4
votes
2 answers

Problems using Vee-Validate's and Vue Multiselect

Hoping if some of you can help me, probably I'm gettings things wrong but I just can't make the Field component to get the output from the Multiselect element. In a Metronic8 wizard that receives the Fields input from 5 different steps, I'm trying…
ejara
  • 51
  • 7
1
2
3
40 41