kazupon / vue-validator

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

resetValidation() and initial: 'off' not working on select element #299

Closed tehciolo closed 7 years ago

tehciolo commented 8 years ago

vue & vue-validator version

1.0.26, 2.1.16

Reproduction Link

http://jsfiddle.net/tehciolo/5sH6A/617/

Steps to reproduce

Validator does not throw error on select field.

What is actually happening?

Validator throws error on select field.


The initial: 'off' works fine on inputs, as can be seen from the fiddle. It just fails to do so on selects.

I have applied a hacky solution, but would like to know if I am missing something.

kazupon commented 7 years ago

related #307

kazupon commented 7 years ago

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