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