kazupon / vue-validator

:white_check_mark: Validator component for Vue.js
MIT License
2.19k stars 431 forks source link

resetValidation appears to not work #307

Closed cpinto closed 7 years ago

cpinto commented 7 years ago

vue & vue-validator version

2.1.6

Reproduction Link

http://jsfiddle.net/fLpmjn52/

Steps to reproduce

  1. click the show button
  2. type in anything in the username field
  3. click the hide button
  4. click the show button again

    What is Expected?

After clicking the show button for a second time, as the component data is reset I was expecting the validation errors to be dismissed.

cpinto commented 7 years ago

updated the ticket with a better reproduction

kazupon commented 7 years ago

Sorry for the late response. I checked your reproduction code. I'll try to improve this issue at 2.2

kazupon commented 7 years ago

fixed v2.1.7 https://github.com/vuejs/vue-validator/releases/tag/v2.1.7