Pristine flag not changing when v-model set to null programmatically? #3281
-
I'm sure I'm missing something here, but I'm facing 2 issues: https://jsfiddle.net/luchorengo/cL9dtvym/58/ Any advice will be appreciated Edit: I've also forked your sample and same result: https://codesandbox.io/s/codesandbox-forked-epn62 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You are using vee-validate v2 which has a different API than v3, upgrading to v3 seems to print the flags correctly. The |
Beta Was this translation helpful? Give feedback.
-
You can set flags explicitly with |
Beta Was this translation helpful? Give feedback.
You can set flags explicitly with
setFlags
on the validation provider instance:https://jsfiddle.net/0em7qdy5/1/