Skip to content

Commit

Permalink
fix(Input): Chinese input is invalid when the modifier is lazy (vueCo…
Browse files Browse the repository at this point in the history
  • Loading branch information
selicens authored Jun 4, 2024
1 parent f42d8ad commit aeda263
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/_util/BaseInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const BaseInput = defineComponent({
const event = document.createEvent('HTMLEvents');
event.initEvent('input', true, true);
e.target.dispatchEvent(event);
handleChange(e);
};
const handleInput = (e: Event) => {
if (isComposing.value && props.lazy) {
Expand Down

0 comments on commit aeda263

Please sign in to comment.