Skip to content

Commit 7ef3dda

Browse files
committed
fix watchers
1 parent 01937a1 commit 7ef3dda

File tree

1 file changed

+2
-2
lines changed
  • packages/vuetify/src/components/VForm

1 file changed

+2
-2
lines changed

packages/vuetify/src/components/VForm/VForm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ export default mixins(
119119

120120
if (!found) return
121121

122-
const unwatch = this.watchers.find(i => i.$.uid === found.$.uid)
122+
const unwatch = this.watchers.find(i => i._uid === found.$.uid)
123123
if (unwatch) {
124124
unwatch.valid()
125125
unwatch.shouldValidate()
126126
}
127127

128-
this.watchers = this.watchers.filter(i => i.$.uid !== found.$.uid)
128+
this.watchers = this.watchers.filter(i => i._uid !== found.$.uid)
129129
this.inputs = this.inputs.filter(i => i.$.uid !== found.$.uid)
130130
delete this.errorBag[found.$.uid]
131131
},

0 commit comments

Comments
 (0)