0

I have 2 input,from date to date and if user enter from date and to date while,to date don't < from date if happened i wanna to shwo error. I'm using FORMIK and YUP package

While I'm tried many method at the time didn't show error but if i didn't use when function, that time getting value on other hand some tims getting error

  • Does this answer your question? [Yup validation with two fields related](https://stackoverflow.com/questions/49522347/yup-validation-with-two-fields-related) – Peppermintology Dec 28 '22 at 09:12
  • Please provide enough code so others can better understand or reproduce the problem. – Community Dec 28 '22 at 10:26

0 Answers0