Skip to content

unexpected undefined using combobox #3583

@intersoom

Description

@intersoom

What package within Headless UI are you using?
@headlessui/react

What version of that package are you using?
v2.2.0

What browser are you using?
Chrome

Reproduction URL
https://codesandbox.io/p/devbox/still-leftpad-xr4zpk?embed=1

Steps to reproduce:

  1. click the field
  2. clear the input (type "a")
  3. press enter
  4. error happens

this is same url as in #3353

Describe your issue
스크린샷 2024-11-30 오후 5 12 04

It is told that this issue is resolved in version 2.1.2 but it is still being reproduced when I return empty array to the virtual options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions