Im trying to use these components to build my autocomplete according to the shadcn docs. However, I would like to extend the autocomplete with a "creatable" option.
I've tried the setup of using the CommandPrimitive.Empty, or render a custom CommandPrimitive.CommandItem with a value that's just the input value and a label: "Use ".
This is currently not working, as this causes a MaximumUpdateDepth error, not sure why... Any help on how to do this is greatly appreciated!!
Im trying to use these components to build my autocomplete according to the shadcn docs. However, I would like to extend the autocomplete with a "creatable" option.
I've tried the setup of using the
CommandPrimitive.Empty, or render a customCommandPrimitive.CommandItemwith a value that's just the input value and a label: "Use ".This is currently not working, as this causes a MaximumUpdateDepth error, not sure why... Any help on how to do this is greatly appreciated!!