-
Notifications
You must be signed in to change notification settings - Fork 27.5k
Problems with ngModel input and Chinese IME #13617
Comments
So you are using an IME to enter Chinese characters? I don't know IME, so I don't know what the mistake is. Can you please describe what should happen, and what happens instead? The screenshots don't really explain it. |
Yeah, I am using an IME to enter Chinese characters. |
Based on the last blog link you provided, it seems that (according to the spec) an @Gpia, could you test if skipping the call to |
Yes,I tried according to what you said and It was ok. The result is right when I remove 'listener()' on compositionend. @gkalpak |
The listener call on compositionend was introduced based on this: #6058 |
I tried to reproduce the behavior with Windows 10, Simple chinese IME that comes with Windows, and Chrome 51.0.2704.84 m. I see the suggestions you have for "ni'hao", but I can't get the resulting 3 Chinese characters you have in your screenshot. I also don't see the intermediate updates (with Latin characters) that are logged for you. Maybe this is an issue with your specific IME. |
When I am using ngModel directive, I find something wrong when I use chinese words.
I searched this and find something called "CompositionEvent", I debuggered the code, and find someting in the angular source code.
I do not want to get the result of input when typing is not completed.
Who can help me?
The text was updated successfully, but these errors were encountered: