Skip to content

Conversation

@cheesegrits
Copy link

@cheesegrits cheesegrits commented Dec 19, 2017

As-is, the code breaks any on/off radio fieldset that doesn't have the input before the label. This change uses the 'for' attribute of the label to find the input, rather than relying on the DOM structure using prev().

Note that the existing code already does this in the listener on line 36, so already assumes there is a 'for' property.

@cheesegrits
Copy link
Author

PS ... if I'm supposed to raise PR's against a different branch, just let me know, I'll redo the PR.

@britzke
Copy link

britzke commented Dec 17, 2021

Is there still a chance to get this PR merged. It is waiting several years and every time we get an update we have to patch this manually for this to work with the Fabrik Framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants