forked from carbon-design-system/carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(MenuItemSelectable): remove duplicate onChange
This is the same issue and fix that was previously addressed for `MenuItemRadioGroup` in carbon-design-system#17736. Also added a test to cover this case, including checking the value passed to the `onChange` prop as the redundant `onChange` being removed here was passing the SyntheticEvent instead of the expected boolean.
- Loading branch information
1 parent
57fce93
commit 2f8173e
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters