Closed erguotou520 closed 8 years ago
Thank you for your reporting!!
I found your mistake.
setTimeout(function() {
this.foo = '2'; // `this` context is "function"
}, 500);
Sorry for mistake, updated. https://jsfiddle.net/nkccqdy7/1/
one more thing, I found the your mistake about validation rule.
please, see the below: https://jsfiddle.net/kazupon/0qbxysyh/3/
Yes, I know it, so in the demo #238 fixed.
vue & vue-validator version
vue: 1.0.24 vue-validator: 2.1.1
Reproduction Link
https://jsfiddle.net/nkccqdy7/
What is Expected?
$validation.foo.required
to befalse
What is actually happening?
$validation.foo.required
to betrue