sui-components
sui-components copied to clipboard
🪲 label and nodeLabel do not trigger onChange status when using a custom checkedIcon prop
URL
https://sui-components.vercel.app/workbench/molecule/checkboxField/documentation/api
Steps to reproduce
- Create a CheckboxField component
- set the checkedIcon prop to be a custom Icon (CheckboxCheckedIcon for instance)
- Click on the label to mark the checkbox as checked, and click the label again to uncheck it
Expected Behavior
The label should work as it does by default with a custom checkbox icon
Example:
https://codesandbox.io/s/modest-leftpad-og48ix?file=/src/App.js
Screenshots
No response
Which device have you used?
- [X] Desktop
- [ ] Tablet
- [ ] Mobile
- [ ] smartTV
Which operating systems have you used?
- [ ] Windows
- [ ] Linux
- [X] macOS
browser and version
No response
Additional info
No response