bombshell-dev / clack

Effortlessly build beautiful command-line apps
https://clack.cc
5.25k stars 88 forks source link

[Request] Filterable list #110

Open zanettin opened 1 year ago

zanettin commented 1 year ago

Is your feature request related to a problem? Please describe. In some scenarios lists could be very long. therefor it would be nice to have a filter option built-in to view just a subset of items

Describe the solution you'd like An element like the multiselect/select input but with a filter option on top so that a user can type and the list items update

Describe alternatives you've considered Current alternative is to use a prompt and let the user enter a search term. on the next step just show items which maches. Not that nice from a UX perspective tbh.

Additional context Thanks to the whole team for open sourcing/maintaining this tool 🙏

zanettin commented 1 year ago

sry 🙈 just have seen that this is already considered for v1.0.0 🎉