Commit 50777f67 authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Autocomplete: fix a Chinese composition bug

parent 68edc75d
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
handleComposition(event) { handleComposition(event) {
if (event.type === 'compositionend') { if (event.type === 'compositionend') {
this.isOnComposition = false; this.isOnComposition = false;
this.handleChange(event.data); this.handleChange(this.value);
} else { } else {
this.isOnComposition = true; this.isOnComposition = true;
} }
......
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