Semantic-Org / Semantic-UI-React

The official Semantic-UI-React integration
https://react.semantic-ui.com
MIT License
13.21k stars 4.05k forks source link

fix: toggle when id is passed #4385

Open carkod opened 2 years ago

carkod commented 2 years ago

This is my attempt to fix onChange not firing when toggle and id are passed, without breaking the previous fix for the click firing twice

To test visually, check the first radio example I created. We can remove it once things are well tested.

I can add tests if the fix is good