Skip to content
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

Combobox: after searching and clicking on a list item, the input value is not updated #3178

Closed
ysv-a opened this issue May 7, 2024 · 2 comments · Fixed by #3180
Closed
Assignees

Comments

@ysv-a
Copy link

ysv-a commented May 7, 2024

problem: the value of the combobox is not updated after selecting a list item with the mouse

What package within Headless UI are you using?
What version of that package are you using?

@headlessui/vue: 1.7.21

vue: 3.4.26

What browser are you using?

Chrome

Reproduction URL

https://codesandbox.io/p/devbox/dreamy-brook-fr4qgc

Describe your issue

Is it normal behavior that after a search, when you click on a list value with the mouse, the input value is not updated?

but if you select a value when you press the enter key, then everything works as expected.

The same example, from the page https://headlessui.com/v1/vue/combobox, works as expected


in the react version, everything also works as it should

https://codesandbox.io/p/devbox/pensive-tdd-5z49k4

@michael-farwell
Copy link

This is occurring for me as well.

@RobinMalfait
Copy link
Member

This should be fixed by #3180, and will be available in the next release.

You can already try it using:

  • npm install @headlessui/vue@insiders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants