magmax/python-inquirer

[Question] Does it support to make required input?

Closed this issue · 2 comments

Hi,

Based on the documentation on https://python-inquirer.readthedocs.io/en/latest/usage.html#question-arguments. This package only supports hiding input using the ignore param.

It would be great, if it had the required input feature. Say adding the required=True param to the Question object to enable this feature.

So, this feature requires the user to fill in the input value.

April

as per #327 you can lock choices, making it impossible to de-select them. Does this help you?

sorry that the documentations is not up to date