Just to report that combobox cli is not working #9725
-
|
"pnpm dlx shadcn@latest add combobox" is not working. `Something went wrong. Please check the error below for more details. Message: Suggestion: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
hey, combobox isnt actually a standalone component in shadcn — its more of a pattern/recipe built using to get it working, install the pieces separately: then follow the combobox example from the docs: https://ui.shadcn.com/docs/components/combobox basically u combine Popover + Command to build the combobox urself. its not a single installable component like button or input 👍 |
Beta Was this translation helpful? Give feedback.
-
|
I see, makes sense, so the problem is on the documentation that needs to be updated to reflect that information. Thank you |
Beta Was this translation helpful? Give feedback.
hey, combobox isnt actually a standalone component in shadcn — its more of a pattern/recipe built using
<Popover>+<Command>. thats why the registry doesnt have acombobox.jsonfile.to get it working, install the pieces separately:
then follow the combobox example from the docs: https://ui.shadcn.com/docs/components/combobox
basically u combine Popover + Command to build the combobox urself. its not a single installable component like button or input 👍