sui-components icon indicating copy to clipboard operation
sui-components copied to clipboard

🪲 label and nodeLabel do not trigger onChange status when using a custom checkedIcon prop

Open alfdocimo opened this issue 3 years ago • 0 comments

URL

https://sui-components.vercel.app/workbench/molecule/checkboxField/documentation/api

Steps to reproduce

  1. Create a CheckboxField component
  2. set the checkedIcon prop to be a custom Icon (CheckboxCheckedIcon for instance)
  3. 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

alfdocimo avatar Aug 22 '22 11:08 alfdocimo