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
arete2y ago
do you have a solution to this?
Steven-sensei
Steven-sensei2y 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
JacobMGEvans2y ago
This is not a "deep question" please use appropriate tags next time.
Want results from more Discord servers?
Add your server