Command Item not working in combobox component #3437
pawanrijal
started this conversation in
General
Replies: 1 comment
-
Cmdk introduced changes, making the use of |
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.
-
``const CustomCombobox: React.FC = ({ label }) => {
const [open, setOpen] = React.useState(false)
const [value, setValue] = React.useState("")
}
As I was creating my custom combobox exactly copied from docs of combobox and mase some minor change with label then the error occurs as
Unhandled Runtime Error
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
as the code works fine until the commandItem is added
Beta Was this translation helpful? Give feedback.
All reactions