vee-validate + vuetify datepicker

Created on 23 Dec 2019  ยท  2Comments  ยท  Source: logaretm/vee-validate

Versions

  • vee-validate: 3.2.1
  • vue: 2.6.11
  • vuetify: 2.1.15

i wanted to add vee-validation for vuetify datepicker.
datepicker works fine but it doesnt validate datepicker

i have used same method for vue-phone-number-input and it works fine

here is the code that i have been trying
https://codesandbox.io/s/wandering-hill-5fi9d

โ” question

Most helpful comment

This is because the menu component is using v-model, which makes vee-validate think its the input and since false is a valid value for required it passes validation. You could try to remove the v-model or find an alternative for the menu component.

https://codesandbox.io/s/vigorous-taussig-s0ex1

All 2 comments

This is because the menu component is using v-model, which makes vee-validate think its the input and since false is a valid value for required it passes validation. You could try to remove the v-model or find an alternative for the menu component.

https://codesandbox.io/s/vigorous-taussig-s0ex1

thank you very much
i got it now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

triffer picture triffer  ยท  3Comments

MaxMilton picture MaxMilton  ยท  3Comments

schel4ok picture schel4ok  ยท  3Comments

the94air picture the94air  ยท  3Comments

yyyuuu777 picture yyyuuu777  ยท  3Comments