feat: forms validate only on submit

This commit is contained in:
José Oliveira 2021-02-17 14:58:34 +00:00 committed by Josh Harvey
parent b1e6ae5124
commit a08e0fbbcc
14 changed files with 30 additions and 1 deletions

View file

@ -235,6 +235,8 @@ const Wizard = ({ onClose, save, error, currency }) => {
currentStep={step}
/>
<Formik
validateOnBlur={false}
validateOnChange={false}
enableReinitialize
onSubmit={onContinue}
initialValues={stepOptions.initialValues}