pacocoursey / cmdk

Fast, unstyled command menu React component.
https://cmdk.paco.me
MIT License
9.03k stars 258 forks source link

feat(item): Added ability to disable Command.Item from filtering #257

Open Jamess-Lucass opened 1 month ago

Jamess-Lucass commented 1 month ago

Fixes #107.

This adds a new property to the Command.Item component named shouldFilter, adding the ability to specify if certain Items should be except from filtering. This is helpful when certain command items are obtained via external filtering, for example, querying some search API and you do not want the response to be further filtered.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cmdk-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2024 7:32pm