shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
74.06k stars 4.57k forks source link

[bug]: Application error in combobox #4041

Open VedantRaut-sudo opened 4 months ago

VedantRaut-sudo commented 4 months ago

Describe the bug

Affected component/components

combobox -> Form

How to reproduce

  1. Click - https://ui.shadcn.com/docs/components/combobox
  2. Go to "Form"
  3. There you will find "Application error: a client-side exception has occurred (see the browser console for more information)."

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Using Firefox Dev edition

Before submitting

Vin-CC commented 4 months ago

After reviewing, it appears that the form example is missing the component around and . Please refer to the examples for the Combobox or the official documentation here: https://ui.shadcn.com/docs/components/command and https://cmdk.paco.me/ (the official documentation for the Command component).

The corrected version should look like this: `

No language found. ... `