shadcn ui combobox does not show "No results" when no options given
I'm using the exact code on here https://ui.shadcn.com/docs/components/combobox but when there is no
<CommandItem>
given (example - when the server returns no options), it does not show the <CommandEmpty>
text. Attached a pic of what I see. However, if I search after that, it then shows the no results found message.
Why wouldn't it show it to begin with?Combobox
Autocomplete input and command palette with a list of suggestions.
0 Replies