Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(web): properly set for attribute for labels #1626

Merged
merged 1 commit into from
Jan 8, 2021
Merged

Conversation

jordanbtucker
Copy link
Contributor

Description

Fixes an issue where the HTML labels on the web control don't get their for attributes set, which means you cannot click on the labels to control the checkboxes. This change uses setAttribute to set the for attribute correctly.

Testing

  1. Before this PR, click a label in the web control. Notice that it DOESN'T toggle the corresponding checkbox.
  2. After this PR, click a label in the web control. Notice that it DOES toggle the corresponding checkbox.

Copy link
Owner

@jef jef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great fix! Thanks for your help ☺️

@jef jef changed the title fix(web): properly set for attribute for labels feat(web): properly set for attribute for labels Jan 8, 2021
@jef jef merged commit c0638d2 into jef:main Jan 8, 2021
erwinc1 pushed a commit to erwinc1/streetmerchant that referenced this pull request Mar 31, 2021
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.

None yet

2 participants