infor-design / enterprise

Enterprise-grade component library for the Infor Design System
https://design.infor.com
Apache License 2.0
130 stars 80 forks source link

Switch: Click label doesn't change value. #8896

Closed InforBG closed 2 weeks ago

InforBG commented 3 weeks ago

Describe the bug The behavior of Switch component is changed in IDS 4.96.x+. Click label doesn't change value. Is it a design change or bug ? In IDS 4.95.x, click label does change the value.

To Reproduce

Steps to reproduce the behavior:

  1. Go to IDS 4.95.0 example, https://latest-enterprise.demo.design.infor.com/components/switch/example-alignment.html, click label works.
  2. Go to IDS 4.97.0 exmaple, https://main-enterprise.demo.design.infor.com/components/switch/example-alignment.html, click label doesn't work.

Expected behavior For the switch component, click label should change the value.

Version

Screenshots image In IDS 4.95.0 example, when hover on the label, the mouse is a 'hand' icon, not an 'arrow'.

Platform

tmcconechy commented 3 weeks ago

@jdilag90 can you take a look?

InforBG commented 3 weeks ago

Can the fix be included in IDS 4.97.x patch, if it is solvable? Thanks.

tmcconechy commented 3 weeks ago

@InforBG I patched this fix in:

https://github.com/infor-design/enterprise/releases/tag/4.97.3

The PR will close the issue

InforBG commented 2 weeks ago

Thanks, @tmcconechy .