title: password validation with yup and formik
body: <p>how would one go about having password validation but at the same time having the errors be passed to different variables? </p>
  
  <p>i.e </p>
  
  <pre><code>password: Yup.string().required("Please provide a valid password"),
  passwordMin: Yup.string().oneOf([Yup.ref('password'), null]).min(8, 'Error'),
  passwordLC: Yup.string().oneOf([Yup.ref('password'), null]).matches(/[a-z]/, "Error" )
  passwordUC: Yup.string().oneOf([Yup.ref('password'), null]).matches(/[A-Z]/, "Error" )
  </code></pre>
  
  <p>I cant get the binding of the password variables to bind with the password object</p>