Closed karol-f closed 8 years ago
Ran into this today as well. For some reason, it was being evaluated as a statement expression, so I had to do @valid="onValid()"
I also have this issue.
Thank you!
release v2.1.2 please try it! https://github.com/vuejs/vue-validator/releases/tag/v2.1.2
vue & vue-validator version
1.0.22, 2.1.1
Reproduction Link
https://jsfiddle.net/tzj8kjc9/
Steps to reproduce
Top level validation events don't work with vue@1.0.22. Try to change Vue version to e.g. 1.0.21 and you will see that it works. Example is from https://github.com/vuejs/vue-validator/blob/dev/example/event/top/index.html
What is Expected?
Top level validation events works.
What is actually happening?
Top level validation events don't work.