Replies: 4 comments
-
Same problem with nullable |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am having the same issue as @mrxsal. Did anyone find a good solution for this Typescript issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
#2821 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is actually possible on the listbox, i don't get why this shouldn't be working on the combobox, i have the same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've come across a Typescript issue which I don't fully understand.
I am building a custom component based on headlessui Combobox. I'd like to pass the
multiple
prop dynamically to the ComboBox element:in MyComponent >
<Combobox multiple={multiple} >
I am getting the following TS error:
I can set
multiple={true}
ormultiple={false}
statically, but a boolean prop doesn't work?Is there a reason why multiple has to be
true
or not passed at all?Beta Was this translation helpful? Give feedback.
All reactions