3

I have a template which contains multiple forms which all have their own validator. When I have submitted the form I'd like to reset the validator.

From what I've read from the documentation you can only use the this.$resetValidation(); method which only works on one of the validators.

How can i reset the validation of a specific validator? Is there a workaround?

gurghet
  • 7,591
  • 4
  • 36
  • 63
Jamie
  • 3,031
  • 5
  • 36
  • 59
  • Could you create a fiddle modeling the problem? – qw3n Aug 01 '16 at 21:49
  • From https://github.com/vuejs/vue-validator/issues/220, there is not a blessed way of making this happen. Calling `$resetValidation()` only works on the most recently defined validator. – Max Shenfield Aug 04 '16 at 08:12

0 Answers0