This Content is from Stack Overflow. Question asked by Wasif
There is no support for SwitchGroup as there is for RadioGroup from Material UI, I am trying to create SwitchGroup to show an error in formik form through yup. But how can we achieve that?
from what I get to understand from this article switch group can be created but how can we add validation to it from yup/ formik?
code sandbox link from the form:
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.
This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.