-
Notifications
You must be signed in to change notification settings - Fork 170
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
Being more productive by pressing ENTER #219
base: main
Are you sure you want to change the base?
Being more productive by pressing ENTER #219
Conversation
Thanks for your contribution @acataluddi. This feature has been suggested a few times over the years (#55) but it's always seemed confusing so I've avoided implementing it. I'll check out your branch and see how it works. |
Hi Matt, Sorry, we implemented the new behaviour without checking for any previous occurrence/request for this feature: our bad. If I can elaborate a bit further the rationale behind this feature, the big plus of advanced selection widgets like react-tags, select2 and similar is, in my opinion, to speed up the item search/selection by the keyboard. That said, is mega powerful having a way to immediately confirm a tag as soon as the typed chars are enough to select the desired one. Arguably, there is no better key than the ENTER one for this. Of course, when the This is the behaviour implemented in this pull request. Thank you for checking it, |
Hello guys, is this feature not implemented on 6.1.0? For some reason I can't use it! Thanks for the great library! |
Hi @joscaohenri, As you can see, the branch has not yet been merged (status open), so it can be part of any release. I’m sorry. In the meantime, you might want to use our internal company version: Regards, |
Still waiting for this to be merged 👀 |
@i-like-robots Could you merge this? There are several people waiting for this feature |
07a315c
to
dbd521f
Compare
Hi Guys,
we hopefully added a small improvement to the widget logic to let user being more productive by using the keyboard.
Only when
allowNew
isfalse
, we automatically select the first entry so that, should it be the right entry for you, you can immediately confirm by pressingENTER
. Otherwise, you can:In addition, we added the possibility to easily switch between the input control and the suggested values by pressing
TAB
.Credits - Roberto Rizzo
Best regards,
Adriano C.