Add a "grouping" attribute to the checkboxes you want to behave as a group. Although the attribute won't be a valid attribute of the element "input", the browser should allow it.
Here is a function and html that works. Note the "groupKey" attribute that brings checkboxes together:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.