fix(Input): Chinese input is invalid when the modifier is lazy (#7543)
parent
f42d8ad1ce
commit
aeda2637f6
|
@ -68,6 +68,7 @@ const BaseInput = defineComponent({
|
||||||
const event = document.createEvent('HTMLEvents');
|
const event = document.createEvent('HTMLEvents');
|
||||||
event.initEvent('input', true, true);
|
event.initEvent('input', true, true);
|
||||||
e.target.dispatchEvent(event);
|
e.target.dispatchEvent(event);
|
||||||
|
handleChange(e);
|
||||||
};
|
};
|
||||||
const handleInput = (e: Event) => {
|
const handleInput = (e: Event) => {
|
||||||
if (isComposing.value && props.lazy) {
|
if (isComposing.value && props.lazy) {
|
||||||
|
|
Loading…
Reference in New Issue