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

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

Projects

None yet

1 participant

@gregmuellegger
Owner

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.

@gregmuellegger gregmuellegger added a commit that referenced this issue Feb 1, 2016
@gregmuellegger Adjust checkbox input parsing tests for Django 1.4
That companions changes for #167
2039d0c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment