Skip to content
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

Text value passed to action(input element) is not updated on android phones #148

Open
muralikg opened this issue Aug 2, 2020 · 0 comments

Comments

@muralikg
Copy link

muralikg commented Aug 2, 2020

Steps to reproduce on an android phone.

  1. botui.action.text type some text having incorrect spelling and tap Enter
  2. botui.action.text passed with a default value of sometext but the input is not updated with sometext instead has the same mispelled text from previous step.

Replacing
v-model="action.text.value"
with the following fixes the issue.
v-bind:value="action.text.value" and v-on:input="action.text.value= $event.target.value"

v-model doesnt update the input value when input is in composing mode (when keyboards are suggesting spelling, there is a line under words to indicate this). Until this feature lands in vuejs this could be a reasonable workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant