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

[Request] Provide a disabled flag for Select and MultiSelect options #122

Open
mikenikles opened this issue Apr 27, 2023 · 0 comments · May be fixed by #161
Open

[Request] Provide a disabled flag for Select and MultiSelect options #122

mikenikles opened this issue Apr 27, 2023 · 0 comments · May be fixed by #161
Labels
enhancement New feature or request

Comments

@mikenikles
Copy link

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
For Select and Multi-Select prompts, I'd like to mark individual options as disabled.

Describe alternatives you've considered
An alternative is to remove the option. However, this impacts discoverability since users of the CLI wouldn't know that option existed.

Additional context
I imagine to use the hint property for disabled options to inform why it is disabled.

@mikenikles mikenikles added the enhancement New feature or request label Apr 27, 2023
@github-project-automation github-project-automation bot moved this to Needs triage in Triage Board Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Needs triage
Development

Successfully merging a pull request may close this issue.

1 participant