NcCheckboxRadioSwitch: Allow external label #5297
Labels
enhancement
New feature or request
feature: checkbox-radio-switch
Related to the checkbox-radio-switch component
I have a NcCheckboxRadioSwitch wrapped in an external label:
This broke after a recent update. Clicking the switch has no effect. Clicking the label still toggles the switch.
I can work around the issue by using an id attribute:
but I'd rather prefer avoiding the hassle of generating unique ids for every form element.
The text was updated successfully, but these errors were encountered: