Skip to content

Commit d1b5b85

Browse files
committedSep 29, 2023
fix: avoid triggering extra model value events closes #4461
1 parent 78c4668 commit d1b5b85

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎.changeset/clever-cows-applaud.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vee-validate': patch
3+
---
4+
5+
fix: avoid triggering extra model value events closes #4461

‎packages/vee-validate/src/Field.ts

-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ const FieldImpl = /** #__PURE__ */ defineComponent({
153153
// If there is a v-model applied on the component we need to emit the `update:modelValue` whenever the value binding changes
154154
const onChangeHandler = function handleChangeWithModel(e: Event | unknown, shouldValidate = true) {
155155
handleChange(e, shouldValidate);
156-
ctx.emit('update:modelValue', value.value);
157156
};
158157

159158
const sharedProps = computed(() => {

0 commit comments

Comments
 (0)
Please sign in to comment.