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' label shows "undefined": Should be empty #1861

Closed
ahoiroman opened this issue Sep 17, 2022 · 1 comment · Fixed by #1865
Closed

Combobox' label shows "undefined": Should be empty #1861

ahoiroman opened this issue Sep 17, 2022 · 1 comment · Fixed by #1865
Assignees

Comments

@ahoiroman
Copy link

What package within Headless UI are you using?

@headlessui/vue

What version of that package are you using?

1.7.2

What browser are you using?

Safari

Describe your issue

If the initial v-model of the combobox is undefined, you may type something but not choose a result from the list. If you then hit ESC the label shows "undefined". It also seems like :displayValue does not have any effect here,

@thecrypticace
Copy link
Contributor

Hey! I looked into this and it stems from a bug in Vue. I figured out a workaround for it which I've merged and it'll be available in our next tagged release.

Thanks! ✨

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

Successfully merging a pull request may close this issue.

2 participants