I have two radio buttons (yes/no) in React.js
with Formik
and Yup
packages used in my projects.
I want to provide a validation message using schema when the user selects the NO option out of the two.
I am able to provide the required validator with Yup
though.
Can anyone help me with this?