Add filter to prompt
Actual Situation
Hi,
It would be helpful to add a filter option to the prompts. For an example of how this is done with Gum see here: https://github.com/charmbracelet/gum?tab=readme-ov-file#filter
Desired Situation
Add a flag filter: true to the prompt yaml in order to support filtering.
Proposed solution
No response
We use the questionary library internally for prompting. It offers the a question type "autocomplete" which is a regular text question with a list of autocomplete choices (not to be confused with a question that lets you select from a list of choices).
For which question type would you like to have autocomplete support? And what is your use case?
@sisp seems like Questionary is much more limited in it's functionality when compared to Gum.
I've tested the autocomplete question type and it's lacking as it does not show you the list of options up front.
With Gum you can do the following:
- Display a list of choices
- Let the user filter the list by typing
- Let the user select multiple choices from the filtered list
In questionary this would be the checkbox and autocomplete types combined.