Skip to content

Combobox multiple crashes when <Combobox.Options> is set to be displayed #1904

@ahmadnsam

Description

@ahmadnsam

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v1.7.3

What browser are you using?

Edge

Reproduction URL

https://github.com/ahmadnsam/powerapps-modals/tree/multi-choices-fix

steps to reproduce:
copy repo
npm install
npm run dev

Describe your issue

When setting the combo box as multiple combo box, the <Combobox.Option> is causing a problem, when you open the combo box, the app crashes and give the below error in the console
image

if you replace the <Combobox.Option> with for example it works fine, and the list is displayed.

Note: its only happening when setting the combobox as multiple

Metadata

Metadata

Assignees

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