title: Issue with values Formik
body: <blockquote>
    <p>GitHub discussion about this issue - <a href="https://github.com/jaredpalmer/formik/issues/529" rel="noreferrer">https://github.com/jaredpalmer/formik/issues/529</a></p>
  </blockquote>
  
  <p>I passed formik values to a function that is called in <code>&lt;Field/&gt;</code>'s onChange but when I type in the <code>&lt;Field/&gt;</code>, the last character does not fall into the function.                          </p>
  
  <p><strong>CodeSandbox</strong> - <a href="https://codesandbox.io/s/quiet-moon-zqfde" rel="noreferrer">link</a></p>
  
  <p><strong>Screenshot</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/4SU6D.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4SU6D.png" alt="enter image description here"></a></p>
  
  <p><strong>Minimal Code Instance</strong>:</p>
  
  <pre><code>import React from "react";
  import ReactDOM from "react-dom";
  import { Formik, Form, Field, FieldArray } from "formik";
  
  function App() {
    //------ HERE ----------
    const getValues = values =&gt; console.log(values.fields[0]);
    //----------------------
    return (
      &lt;&gt;
        &lt;Formik
          initialValues={{ fields: [""] }}
          onSubmit={(values, actions) =&gt; {
            actions.setSubmitting(false);
            console.log(values);
            return false;
          }}
          render={({ setFieldValue, values }) =&gt; (
            &lt;Form&gt;
              &lt;FieldArray
                name="fields"
                render={() =&gt; (
                  &lt;Field
                    type="text"
                    name="fields.0"
                    placeholder="Write something"
                    onChange={e =&gt; {
                      setFieldValue("fields.0", e.target.value);
                      //---------------
                      getValues(values);
                      //---------------
                    }}
                  /&gt;
                )}
              /&gt;
            &lt;/Form&gt;
          )}
        /&gt;
      &lt;/&gt;
    );
  }
  
  ReactDOM.render(&lt;App /&gt;, document.getElementById("root"));
  </code></pre>