title: Formik , how to reset dirty property
body: <p>I have multistep form application. On first page user fills form . Second page  is a confirm page where user checks all data  or he can edit them, returning back to the first page. On forms page I have disabled submit button , until it passes all validation rules</p>
  <pre><code>           &lt;Button
                type=&quot;submit&quot;
                disabled={!(formik.isValid &amp;&amp; formik.dirty)}
                onClick={() =&gt; {
                  dispatch(sendSms()).then(() =&gt; {
                    setModal(true);
                  });
                }}
              &gt;
                Продолжить
             &lt;/Button&gt;
  </code></pre>
  <p>So the problem is  when I'm returning back , sumbit button is disabled. I need to set dirty property  &quot;true&quot; . How to make it?</p>
  <pre><code> &lt;Formik
      initialValues={formValues || initialValues}
      validationSchema={validationSchema}
      enableReinitialize
      onSubmit={onSubmit}
      onChange={onSubmit}
      validateOnMount={true}
    &gt;
  
  const onSubmit = (values, submitProps) =&gt; {
    setFormValues(values);
    submitProps.resetForm();  
  };
  </code></pre>