We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e60ee69 commit 69bcf99Copy full SHA for 69bcf99
src/components/validator/validator.vue
@@ -104,15 +104,18 @@
104
value(newVal) {
105
this.valid = newVal
106
},
107
- targetModel() {
108
- if (this.isDisabled) {
109
- return
110
- }
111
- if (!this.dirty) {
112
- this.dirty = true
113
+ targetModel: {
+ handler() {
+ if (this.isDisabled) {
+ return
+ }
+ if (!this.dirty) {
+ this.dirty = true
114
115
- this.validate()
116
+ this.validate()
117
+ },
118
+ sync: true
119
120
isDisabled(newVal) {
121
if (!newVal && this.trigger && !this.validated) {
0 commit comments