ui-select icon indicating copy to clipboard operation
ui-select copied to clipboard

Keyboard navigation doesn't work with search-enabled="false"

Open mihaic-gf opened this issue 12 years ago • 17 comments

Hello,

Great job with this project, I have only one small problem, if I add search-enabled="false" when I have few options, keyboard navigation doesn't work anymore. Is there any other way to hide search field?

Example: ui-select ng-model="person.selected" theme="select2" ng-disabled="disabled" search-enabled="false" style="min-width: 300px;"

Best Regards, Mihai

mihaic-gf avatar Nov 05 '14 10:11 mihaic-gf

+1

zzal avatar Nov 28 '14 15:11 zzal

+1

davideanderson avatar Mar 04 '15 21:03 davideanderson

+1

jonsonjonson avatar Mar 11 '15 14:03 jonsonjonson

+1

mareczek avatar Mar 11 '15 14:03 mareczek

+1

kleyy avatar Mar 12 '15 11:03 kleyy

+1

uschmann avatar Mar 13 '15 13:03 uschmann

+1

brentmiller avatar Apr 07 '15 19:04 brentmiller

+1

seinavco avatar Apr 12 '15 08:04 seinavco

+1

akashta avatar Jul 10 '15 12:07 akashta

+1

chloe-pellen avatar Jul 16 '15 12:07 chloe-pellen

Is there any progress on this?

LFDM avatar Sep 21 '15 13:09 LFDM

:/ ????

chloe-pellen avatar Sep 23 '15 09:09 chloe-pellen

+1 (many times).

This is the only issue which made our UI testers angry. Keyboard navigation is a must, especially in enterprise applications where system operators often navigate forms only using keyboard because that's much faster.

As far as I have seen, ui-select is the most popular (68 contributors!) dropdown element for Angular, but this issue is real showstopper. Maybe I'll find some time to fix it myself, but more likely, I'll find some other dropdown, maybe less popular (and less supported) but with keyboard navigation. Which is a shame, because otherwise ui-select is great.

progmars avatar Oct 13 '15 12:10 progmars

@wesleycho there are already some PR that can solve this issue; PR1114 and PR1109. I had the same idea and I think is the most cleanest way as the searchInput already has the keyboard navigation handler. @cbryer and @cdjackson may you let us know whether those PR are ready to merge?

fcaballero avatar Mar 28 '16 15:03 fcaballero

#1114 looks the more comprehensive of the two, @fcaballero if you feel strongly you could fork cbryer's repo, rebase, resolve any conflicts, squash and create a new PR?

user378230 avatar Mar 28 '16 22:03 user378230

@user378230 ok for me, I will take care of it ;)

fcaballero avatar Mar 29 '16 17:03 fcaballero

@user378230 or @wesleycho may you please merge these changes in #1543 and remove the oldest PRs?

fcaballero avatar Mar 30 '16 21:03 fcaballero