Commit 43a44adc authored by VanMess's avatar VanMess Committed by Zhi Cun

Select: Fix default-first-option behavior when typing Chinese (#15431) (#15553)

* Select: Fix default-first-option behavior when typing Chinese (#15431)

* Select: Fix missing param transmit

* Select: callback style modify
parent 37c0a9fb
......@@ -445,7 +445,7 @@
const text = event.target.value;
if (event.type === 'compositionend') {
this.isOnComposition = false;
this.handleQueryChange(text);
this.$nextTick(_ => this.handleQueryChange(text));
} else {
const lastCharacter = text[text.length - 1] || '';
this.isOnComposition = !isKorean(lastCharacter);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment