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] Allowing empty array in multi-select prompt #41

Closed
jinmayamashita opened this issue Feb 15, 2023 · 0 comments · Fixed by #42
Closed

[Request] Allowing empty array in multi-select prompt #41

jinmayamashita opened this issue Feb 15, 2023 · 0 comments · Fixed by #42
Labels
enhancement New feature or request

Comments

@jinmayamashita
Copy link
Contributor

jinmayamashita commented Feb 15, 2023

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

multi-select prompt is requires at least one option, but in some cases, we may not select anything.

Describe the solution you'd like

How about allowing empty array in multi-select prompt?
Currently, it is possible with validate, but it would be nice to allow them in option.

Describe alternatives you've considered

I also considered the possibility of specifying the minimum and maximum values that can be selected with options, but I thought it would complicate things a bit.

@jinmayamashita jinmayamashita added the enhancement New feature or request label Feb 15, 2023
@jinmayamashita jinmayamashita changed the title [Request] Allowing empty arrays in multiple select [Request] Allowing empty array in multi-select prompt Feb 15, 2023
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
None yet
Development

Successfully merging a pull request may close this issue.

1 participant