quasar icon indicating copy to clipboard operation
quasar copied to clipboard

[REQUEST] Key press should select item in QSelect

Open kerbo opened this issue 8 years ago • 6 comments

Enable key press selection for QSelect field.

I should be able to tab into a QSelect field and select an item using a key press. Basically duplicate the behavior of the HTML Select element.

kerbo avatar Jul 09 '18 18:07 kerbo

Already in v0.17. Check forum @ announcements. You can help beta test it. Thanks.

rstoenescu avatar Jul 09 '18 18:07 rstoenescu

I finally tried key press selection for QSelect in 0.17 and it doesn't work. In fact, I scanned the release notes and I can't find anything saying the feature was added.

kerbo avatar Aug 21 '18 01:08 kerbo

@kerbo works just fine....

rstoenescu avatar Aug 21 '18 01:08 rstoenescu

I've tried it with the 17.9 showcase. If you set focus to one of the QSelects, pressing "G" should select "Google". It doesn't. If I select "Google" with the mouse, pressing "F" should select "Facebook".

Once a Select is expanded I can move up and down the list with the arrow keys, but pressing a letter of the name doesn't do anything.

kerbo avatar Aug 21 '18 01:08 kerbo

Use a filter for that. By keypress we refer to the ENTER key.

rstoenescu avatar Aug 21 '18 02:08 rstoenescu

Sorry I wasn't clear in my initial request. Can you reopen this issue?

What I am requesting is that key selection behavior with a QSelect work the same as a HTML Select element.

kerbo avatar Aug 21 '18 02:08 kerbo