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
Do you want to make sure the user select at least one option within the options? If so, I think you can do that safely with a custom validate function.
validate: answers => answers.length > 1 || 'Please select at least one option'
now every questions are optional, there is no way to define it demand.
suggestion: add
demandOption
config, if user select nothing or just press enter, exit error or auto load question to retry.The text was updated successfully, but these errors were encountered: