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

Update ColumnChooser #730

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ahopkins
Copy link

Griddle major version

v1

Changes proposed in this pull request

Add id attribute to the input

Why these changes are made

To allow for clicking of label to toggle the checkbox

Are there tests?

No, it is a single HTML attribute

Add `id` attribute to the `input` to allow for clicking of label to toggle the checkbox
@dahlbyk
Copy link
Contributor

dahlbyk commented Aug 24, 2017

To allow for clicking of label to toggle the checkbox

Are you sure this is necessary? <label><input /> Test</label> should already work; id+for is only necessary if the input is outside the label (W3C).

@ahopkins
Copy link
Author

ahopkins commented Aug 24, 2017 via email

@dahlbyk
Copy link
Contributor

dahlbyk commented Aug 24, 2017

It was not working for me at all in Firefox Dev Version. I'll send you the
specifics of the browser.

No need; I've confirmed what you're seeing. I think the better fix would be to remove htmlFor from both labels.

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