Skip to content

Commit

Permalink
Select: Fix default-first-option behavior when typing Chinese (ElemeF…
Browse files Browse the repository at this point in the history
…E#15431) (ElemeFE#15553)

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

* Select: Fix missing param transmit

* Select: callback style modify
  • Loading branch information
VanMess authored and luguokong committed Jul 15, 2019
1 parent cf48020 commit f82971a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/select/src/select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f82971a

Please sign in to comment.