Autocomplete: add hideOnSelect property #1501
Unanswered
bogdan0083
asked this question in
PrimeVue
Replies: 2 comments
-
@bogdan0083 This is exactly the functionality that we are looking for. When dealing with many multiple selections from a long list of items, this will save our users many clicks and a great deal of frustration if we can prevent the listbox from hiding between clicks. Very keen to have this feature made available. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @graviteski ! I finally found a time to implement this feature: primefaces/primevue#5665 Please let me know if something can be improved in terms of code or documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now it's impossible to prevent listbox from hiding when option is selected. I want to be able to leave it open when option is selected and hide it on
escape
keydown or when clicked outside. Here's an example gif of new property (just a prototype):We can introduce
hideOnSelect
prop which will betrue
by default. But when it's set tofalse
the listbox will not be hidden on option select.I can send PR if you interested in this feature.
Beta Was this translation helpful? Give feedback.
All reactions