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

Incompatibility with django.forms: Django's CheckboxInput always returns bool #167

Closed
gregmuellegger opened this Issue Feb 1, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@gregmuellegger
Owner

gregmuellegger commented Feb 1, 2016

floppyforms' CheckboxInput returns the value given in the <input value="..."> attribute, but Django always casts this value to a bool, see here: https://github.com/django/django/blob/1.8/django/forms/widgets.py#L495

We should make the behaviour the same as Django's.

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