Closed joguSD closed 7 years ago
Could you link to the prompt toolkit pr?
The upstream pull request: https://github.com/jonathanslenders/python-prompt-toolkit/pull/374
Could we get a test for typing something outside of the list? Everything else looks good.
⛵
A fuzzy select interaction to address some of the feedback Dave had at the wizards planning meeting. This interaction will allow the user to type which will apply the fuzzy search algorithm to filter the list. It will also validate that the input is from the list and reject all others. This is using the
SentenceValidator
class which was failing tests on python 2.6 due to having a set comprehension. I've made a pull request upstream which has been merged as ofprompt_toolkit
v1.0.6. As such the minimum version will be bumped to v1.0.6@JordonPhillips @jamesls
Displaying all options
Filtering the list by typing
Validating input is part of the list