kazupon / vue-validator

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

Some question about field params attribute #246

Closed lnwu closed 8 years ago

lnwu commented 8 years ago

the example in the doc Demo it looks the field attribute is always a string type is it should be dynamic?

kazupon commented 8 years ago

You can use the binding syntax. (e.g. :field="field.name")