title: SetValues Formik Function disables Formik HandleSubmit
body: <p>I have a form that can handle submission a couple of different ways. The difference is managed by a flag in the form Values that can either be true or false.</p>
  
  <p>I am running into this really weird issue where when I use the Formik setValues() function the form doesn't enter the handleSubmit function at all. It just stops execution. However if I set the value using just by going this.props.values.x = ...
  it enters the function and continues with submitting the form just fine. </p>
  
  <p>Why is this happening?</p>
  
  <p>there's really no point in showing code as the description tells you everything but this is what the submit handler looks like:</p>
  
  <p>A confirmation function calls the submit handler which sets the value and then attempts to call handleSubmit</p>
  
  <pre><code>        &lt;Confirmation
            items={this.confirmationData()}
            isLoading={this.props.isSubmitting}
            open={isConfirming}
            preapproval={true}
            submitAnother={this.submitAnother}
            onClick={this.submit} //this is the submit handler
            onClose={() =&gt; this.setState({ isConfirming: false })}
          /&gt;
  
    submit = () =&gt; {
      this.props.setValues({ ...this.props.values, submit: true})
      this.props.handleSubmit()
    }
  </code></pre>
  
  <p>if the first line is changed to this.props.values.submit = true, the form submits however, using the setValues function, The application stops executing after setting the submit value to be true.</p>