ONSdigital / sdc-global-design-patterns

The SDC Global Design Pattern library. Used as the basis for SDC projects. Outputs to CDN for use in production and development projects, documentation publishes to netlify.
https://sdc-global-design-patterns.netlify.com/
11 stars 2 forks source link

Bug mutually exclusive select #192

Closed boxadesign closed 5 years ago

boxadesign commented 5 years ago

What is the context of this PR?

Small fix to change the event listener for the mutually exclusive to detect input instead of keydown and change.

The input type triggers on all types of user interaction with a form element.

It is compatible down to ie9. For older versions it's the equivalent to the no js solution.

How to review

Check all mutually exclusive examples work as expected.

armstrongb commented 5 years ago

Hi @boxadesign does this resolve #191 ?

boxadesign commented 5 years ago

@armstrongb Yes