Case1: when we render the switch component inside dialog and after close the dialog it throws console error.
Replication Procedure:
Expected Output: Console error should not occurs from switch component after we closing the dialog
Current Output: Console error occurs from switch component after we closing the dialog
Case2: Switch component is not working when we render it inside the label tag
Replication Procedure:
Run the sample
Click the switch button
You can see the issue
Expected Output: Switch component should be working properly when we render it inside the label tag
Current Output: Switch component is not working when we render it inside the label tag