[Vuejs]-Can't add dynamic validation using vue-validator

0👍

Instead of using v-if you could use v-show. This would still hide the unnecessary questions, but would ensure they are picked up by vue-validator.

Also, you need to be using vue > 1.0.19 to use vue-validator >= 2.0.0. There was a change in 1.0.19 that paved the way for the new vue-validator.

👤Jeff

Leave a comment