How to populate ShadCN search/comand component with options, but only have them show up when typing?
I want to use the ShadCN command/search component, but I only want about 3 or 4 of the options to show as deafult, the rest should be there, but only upon searching (with the correct letters)
3 Replies
do you have a solution to this?
I did somthing like this not so long ago, my idea was to keep track of the search and conditionaly render the option in the jsx
This is not a "deep question" please use appropriate tags next time.