Skip to content
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

Adding new prompt type of listwithfilter #140

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

timharris777
Copy link

This new prompt type is just like list except when you type it filters the list of choices to those that match the text you have typed. I have tested and it is interchangeable with any list type. Just chance it from list to listwithfilter.

Much of the work was already done. I just had to modify someone elses script to work with PyInquirer. Credit goes to @gbataille for the majority of the work. Original file can be found here: https://github.com/gbataille/password-organizer/blob/master/password_organizer/cli_menu/prompts/listmenu.py

@gbataille
Copy link

thanks for the mention 👍

@timharris777
Copy link
Author

@CITGuru , are you still maintaining this project?

@timharris777
Copy link
Author

@CITGuru, any updates?

@barbosso
Copy link

This new prompt type is just like list except when you type it filters the list of choices to those that match the text you have typed. I have tested and it is interchangeable with any list type. Just chance it from list to listwithfilter.

Much of the work was already done. I just had to modify someone elses script to work with PyInquirer. Credit goes to @gbataille for the majority of the work. Original file can be found here: https://github.com/gbataille/password-organizer/blob/master/password_organizer/cli_menu/prompts/listmenu.py

when the list is long it doesn't scroll down (

jeff-miller-cfa and others added 2 commits May 17, 2023 11:12
…sing dictionary choices would cause an exception.
Fix a bug in `listwithfilter` when specifying a default value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants