Skip to content

fixed datalink binding for checkboxes #56

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

Closed
wants to merge 1 commit into from

Conversation

minhajuddin
Copy link

The datalink code wasn't working as expected for checkboxes, that's because checkboxes don't work like other input elements. This patch fixes that by forcing the checkbox to a boolean value.

@jonepatr
Copy link

This is maybe the reason why I'm having a strange problem with checkboxes! When I have a list of objects and represent them in my form as checkboxes(having the same name attribute) and I click one, it automatically sets the value of the clicked one to all of the checkboxes, making it impossible to select more than one checkbox, because the values are all the same!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants