Skip to content

Unable to set value of headlessui Combobox in unit tests #2630

Closed Answered by cexbrayat
logoly asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like they are not listening to clicks but to mousedown on options https://github.com/tailwindlabs/headlessui/blob/0a8de016e8f4f6f3c27fdebe8fe79debdd2ae4fb/packages/%40headlessui-vue/src/components/combobox/combobox.ts#L1475

If that's not enough, I think your best shot is to ask the question on the headlessui repo, as this is not really an issue with VTU but rather an implementation detail of headlessui to figure out in order to make your test pass

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@logoly
Comment options

@cexbrayat
Comment options

Answer selected by logoly
@logoly
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants