You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm frustrated that I have to add manual validation after my prompt runs for multiselect prompts
Describe the solution you'd like
Support validate option on multiselect and autocompleteMultiselect
Describe alternatives you've considered
Current workaround
asyncfunctiongetThings(choices): Promise<string[]>{// prompt to ask for which images to bumpconstanswers=awaitprompts({type: 'multiselect',name: 'things',message: 'Which things do you want to bump?',
choices,});if(answers.things.length===0){returngetThings(choices);}returnanswers.things;}
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
I'm frustrated that I have to add manual validation after my prompt runs for multiselect prompts
Describe the solution you'd like
Support
validate
option on multiselect and autocompleteMultiselectDescribe alternatives you've considered
Current workaround
The text was updated successfully, but these errors were encountered: