[Request] QSelect add key events
It could be useful to handle key events to use keyboard on desktop version. On forms I would like to use keys to move between fields and also on a select (i.e. press enter to submit form, currently handled on simple qinput fields but not on qselect field, but also move between qselect values using up and down keys).
Notice that you can use TAB to move between input fields. QSelect indeed needs some extra code to handle moving between its values. And this is on the roadmap.
Hi @rstoenescu, about TAB key I saw, but other key events are necessary for keyboard use. Thank you.
In addition to handle moving through values, it needs the handlers for selecting a value by Enter or Space, and for opening the list itself (usually F4 or Ctrl+↓)
Yes, all this is available in Autocomplete. What is needed is a wrapper so it can be used with multiple components, like QSelect.
@rstoenescu is this on the roadmap for v.15?
Available in 0.15.1. Forgot to close this.
@rstoenescu Now you cannot input a space character when using the autocomplete control. I think that's a bug.
working: http://v0-14.quasar-framework.org/components/autocomplete.html NOT working: http://quasar-framework.org/components/autocomplete.html
@wc-matteo Supply a jsFiddle and add instructions to reproduce if you feel there's any bug. Thanks!
You can see the issue just using the documentation examples. Try to input a space character in the autocomplete input. It works with 0.14 and it doesn't with the latest.
Open up a new ticket pls. Reproduced and root caused it. Thanks.
@wc-matteo opened https://github.com/quasarframework/quasar/issues/1652 and pushed fix then closed it. Will be available in 0.15.4
Thank you very much! Sorry, I couldn't open it myself.