kazupon / vue-validator

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

required validator should check true/false #258

Closed giohappy closed 8 years ago

giohappy commented 8 years ago

The 'required' validator is applied whatever the value is set for it. E.g.

validate: {
  required: false
}

is considered required. IMHO the validator should consider the value too.

kazupon commented 8 years ago

related issues https://github.com/vuejs/vue-validator/issues/217