Skip to content

Commit

Permalink
fix(input-number): fix lack of validation after value change
Browse files Browse the repository at this point in the history
  • Loading branch information
oljc committed Feb 4, 2024
1 parent a13b612 commit fb6982f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-vue/components/input-number/input-number.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ export default defineComponent({
const stringValue = getStringValue(finalValue);
if (finalValue !== valueNumber.value || _value.value !== stringValue) {
_value.value = stringValue;
emit('update:modelValue', finalValue);
}
emit('update:modelValue', finalValue);
};

watch(
Expand Down

0 comments on commit fb6982f

Please sign in to comment.