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
arete
arete11mo ago
do you have a solution to this?
stevensensei
stevensensei11mo ago
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
JacobMGEvans
JacobMGEvans11mo ago
This is not a "deep question" please use appropriate tags next time.