Open francescotau opened 3 months ago
@francescotau You need to use CommandDialog instead of Popover. Check it out here: https://ui.shadcn.com/docs/components/command
@francescotau You need to use CommandDialog instead of Popover. Check it out here: https://ui.shadcn.com/docs/components/command
Nope, this is not the same thing. I have a Dialog that contains a Form consisting of multiple fields and one field of the Form should be the Combobox.
Updating from:
"@radix-ui/react-popover": "^1.0.7",
"cmdk": "^0.2.0",
to:
"@radix-ui/react-popover": "^1.1.1",
"cmdk": "^1.0.0",
solved the issue for me.
Still getting this even with
"@radix-ui/react-popover": "^1.1.1", "cmdk": "^1.0.0",
Still getting this even with
"@radix-ui/react-popover": "^1.1.1", "cmdk": "^1.0.0",
pass modal={false}
to the Popover
AND the Dialog
elements
ı passed modal={false} to the Popover and Dialog elements and CommandInput worked.but now dialog's backgrounds removed.
Describe the bug
CommandInput field of a Combobox placed inside a Dialog is not working (cannot type anything in the input field).
Affected component/components
Combobox
How to reproduce
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting