New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Support dynamic items #4
Comments
I guess you want to render a list check it out: You can compose the components whatever you want. |
The goal is to have a combined local search of commands with backend driven search results within the command palette. However, it does not render the dynamic items within the list. For instance, if you try adjusting your example to render items filtered based on your input query. It does not render the items properly. Here's a link to my commit adjusting the vercel example: pactode@9bf64de |
Check out the commit: 96bbc41 Maybe fixed the problem why do not render the item |
Thanks for looking into this, but it still does not render correctly. Some times the item you are searching for just disappears. It seems to be caused by the When inspecting the components with Vue devtools, it seems that the |
Did you find a solution to this? I also can't seem to get items dynamically rendered based on results from a query to a backend search. |
I ended up building a custom version of the command palette instead of using this package. |
Like pactode I ended building a custom version of the command palette, but using this package as base. Instead of using This is a working example in case anyone needs to take a look |
It currently does not work, when you dynamically add
Command.Item
to aCommand.List
orCommand.Group
.Any way to support this?
The use case is that you would like to send your query to a backend, that responds with X results to display.
Let me know if you need any help looking into it.
The text was updated successfully, but these errors were encountered: