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

Selected Boxes are not selected anymore after rendering the form #4

Open
panisch opened this issue Sep 6, 2012 · 1 comment
Open

Comments

@panisch
Copy link

panisch commented Sep 6, 2012

If I use a form field like this:

categories = forms.ModelMultipleChoiceField(queryset=Categories.objects.all(), widget=forms.CheckboxSelectMultiple)

and send the form with one of the boxes selected it is not selected in the resulting response object anymore. When I use {{ form.as_p }} or just {{ form.categories }} instead of {{ form|as_bootstrap }}, the box is still selected as it should be!

I hope you know what I mean! :-)

paltman added a commit that referenced this issue Apr 22, 2015
Ensure checkboxes are checked. refs: #4
@ossanna16
Copy link
Contributor

@rizumu Can this issue be closed? Looks like you fixed it 😊

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

No branches or pull requests

2 participants