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
Currently, a number of things are validated after you submit your prompts from inquirier. Inquirer also allows you to validate while you're in the prompts, though, which saves time in not having to go back and redo things based on an incorrect password or something else.
The validation still must occur after the prompts because you can bypass the prompts with flags and those values need validation.
The validation functions should be broken out into their own modules and run both in the prompts and afterward.
The text was updated successfully, but these errors were encountered:
mhkeller
changed the title
Validate password from inquirer
Validate all fields from within inquirer
Dec 23, 2015
Currently, a number of things are validated after you submit your prompts from inquirier. Inquirer also allows you to validate while you're in the prompts, though, which saves time in not having to go back and redo things based on an incorrect password or something else.
The validation still must occur after the prompts because you can bypass the prompts with flags and those values need validation.
The validation functions should be broken out into their own modules and run both in the prompts and afterward.
The text was updated successfully, but these errors were encountered: