Q-Input change Android behavior while editing to match desktop #16981
-
Hi everyone, I am currently building an Android app using Quasar and I am having an issue with Q-Input. I would like for when the user hits the return key after editing that the @keydown event.key should equal "Enter". I have written custom logic for handling enter in this particular Q-Field. However, on Android the behavior seems to emulate tab switching to the next Q-Field instead. Is there a way I can make it return the Enter key instead? The icon changes on Android to an arrow pointing to a vertical line (which I think represents that it's not going to do the "Enter" key in this case while editing the Q-Field. Any help with this issue would be most appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I tried copying to clipboard the JSON of the event while typing characters on Android this shows: {"isTrusted":true,"_vts":} However no event for @keydown is fired at all when the ->| button is clicked. |
Beta Was this translation helpful? Give feedback.
Issue resolved! I added multiline, autogrow, wrap="on" to the Q-Input. This fixed the issue.