🐛(react) fix checkbox double onChange
When clicking on the checkmark it was trigerring two onChange on parent elements, thus causing double toggling ( which means revert to the initial value ) in some controlled way approaches ( see the added test ). Fixes #175
This commit is contained in:
5
.changeset/proud-readers-yell.md
Normal file
5
.changeset/proud-readers-yell.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@openfun/cunningham-react": patch
|
||||
---
|
||||
|
||||
fix checkbox double onChange
|
||||
Reference in New Issue
Block a user