[Checkbox] Triggering onChange on enable and disable ? #1728
-
I was wondering the utility of triggering the I can make a PR in the minute if you @fomantic/maintainers are willing to. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
Done by #1744. |
Beta Was this translation helpful? Give feedback.
onchange
should IMHO only be called when the check state changes. Even, if you disable a checked checkbox, it will still be checked (thus: did not change)As you already pointed out there are already existing callbacks for enable/disable