Javascript – yup validation comparing two number dynamically
I'm trying to compare 2 number inputs with yup validation. One of the names is number1 and the other is number2. number2 must be greater than or equal to number1 and number1 must be less than or equal to number2.…