Skip to content

Keep the Combobox open on Enter/click of an item #1267

Answered by RobinMalfait
calthomson asked this question in Help
Discussion options

You must be logged in to vote

Hey! Thank you for your suggestion!
Much appreciated! 🙏

If you use the insiders builds (npm install @headlessui/react@insiders or npm install @headlessui/vue@insiders) there we have multiple support available for the Combobox component. You enable it by passing an array to the value instead of a single element.

Doing this enables multiple value support which keeps the Combobox open while selecting items. It will also "toggle" items on and off if you press enter on them.

More information can be found in the PR: #1243

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@calthomson
Comment options

Answer selected by calthomson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants