kazupon / vue-validator

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

Is there anyway to validate multiple form on one page? #264

Closed zchking closed 8 years ago

zchking commented 8 years ago

Is there anyway to validate multiple form on one page?

Hi, when using vue-validator with multiple form on one page, I call the this.$validate() through click the buttons, but it just validate the second form. The first form can not validate as expected.

Is there anyway to validate with multiple form? thanks

Reproduction Link

http://codepen.io/zchking/pen/dXvvYz

kazupon commented 8 years ago

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

Sorry, The $validate API doesn't support the multiple validation. I'll try to support in v3

zchking commented 8 years ago

thanks :+1: