-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report] v-text-field not wait chinese input method (IME) input to end when use v-model bind a computed attribute #5748
Comments
This is not platform specific. It's a general issue for users using IME, which has been well documented by Vue.js. More explanation can be found in issue vuejs/vue#5902 The solution is cooked right into the directive Thing can get very ugly in terms of a search input where incorrect results will be returned in the middle of IME composing (before the intended character arrives in the input). Interestingly, Quasar has the same issue quasarframework/quasar#4482 |
VTextField update internalValue on onInput(evt) and onKeyDown(evt) . |
…ing' of https://github.com/kouqon/vuetify into kouqon-fix/vuetifyjs#5748-vtextfield-skip-update-if-ime-composing
…11134) fixes #5748 * fix(VTextField): Skip value property update if IME composing string * style(VTextField): adjust code styling Co-authored-by: John Leider <[email protected]>
Chrome only sends events where the isComposing property is true |
fixes #11190 * fix(VTextField): Update value on compositionend See #5748 * style(VTextField): add empty line after const declaration Co-authored-by: k_kondou00 <[email protected]> Co-authored-by: John Leider <[email protected]>
This comment has been minimized.
This comment has been minimized.
We kindly ask users to not comment on closed/resolved issues. If you believe that this issue has not been correctly resolved, please create a new issue showing the regression or create a new discussion. If you have any questions, please reach out to us in our Discord community. |
Versions and Environment
Vuetify: 1.3.11
Vue: 2.5.17
Browsers: Maxthon 5.2.5.4000, Google Chrome, Mozilla Firefox, Safari, Microsoft Edge, Internet Explorer, Opera, Other
OS: iOS, Mac OSX
Steps to reproduce
Expected Behavior
text field wait IME input to end
Actual Behavior
text field interrupts the input of IME and can't input chinese character
Reproduction Link
https://codepen.io/lazylz/pen/WYgmBb
Other comments
This problem can also occur in other languages that require an IME (Japanese, Korean etc.)
this issue not happened on native input tag,because v-model waits input method input to end (use compositionend event) before it refresh value
The text was updated successfully, but these errors were encountered: