title: getFieldValue or similar in Formik
body: <p>Is there a way to get the value of a field inside a click handler in formik?</p>
  
  <p>You can use <code>setFieldValue</code> in there, so I'd assume (but can't find anywhere) that Formik should have something like that for retrieving values:</p>
  
  <pre><code>&lt;Button onClick={() =&gt; getFieldValue('name') === 'Test' ? action1 : action2}
  </code></pre>
  
  <p>What is the correct way to do this in Formik?</p>