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
62.84k stars 3.53k forks source link

[bug]: Combobox Form example errors when you click Select Language #3976

Open murderteeth opened 2 weeks ago

murderteeth commented 2 weeks ago

Describe the bug

image image

Also why is it called "combobox"? The shadcn-ui's combobox component doesn't work like the comboboxes I see here, https://en.wikipedia.org/wiki/Combo_box https://learn.microsoft.com/en-us/windows/apps/design/controls/combo-box https://headlessui.com/react/combobox https://jquense.github.io/react-widgets/docs/Combobox

Affected component/components

Combobox

How to reproduce

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

able to reproduce in Chrome, Brave, and Arc

Before submitting

related issues https://github.com/shadcn-ui/ui/issues/3907 https://github.com/shadcn-ui/ui/issues/3903 https://github.com/shadcn-ui/ui/issues/3900

Nilomiranda commented 2 weeks ago

@shadcn I've opened a PR #3980 providing a fix for it.