Skip to content

Commit

Permalink
fix: use validateField instead of onChange handler for blur events
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Oct 6, 2020
1 parent cbcbb94 commit 636077a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/Field.ts
Expand Up @@ -96,7 +96,7 @@ export const Field = defineComponent({
}

if (validateOnBlur) {
fieldProps.onBlur.push(onChangeHandler);
fieldProps.onBlur.push(validateField);
}

if (validateOnModelUpdate) {
Expand Down

0 comments on commit 636077a

Please sign in to comment.