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

[Question] Does it support to make required input? #435

Closed
aprilahijriyan opened this issue Aug 9, 2023 · 2 comments
Closed

[Question] Does it support to make required input? #435

aprilahijriyan opened this issue Aug 9, 2023 · 2 comments
Labels
question Further information is requested

Comments

@aprilahijriyan
Copy link

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

@Cube707
Copy link
Collaborator

Cube707 commented Aug 14, 2023

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

@Cube707
Copy link
Collaborator

Cube707 commented Aug 14, 2023

sorry that the documentations is not up to date

@Cube707 Cube707 added the question Further information is requested label Aug 30, 2023
@Cube707 Cube707 closed this as completed Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants