{"action":"created","issue":{"url":"https://api.github.com/repos/jrief/django-angular/issues/131","labels_url":"https://api.github.com/repos/jrief/django-angular/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/jrief/django-angular/issues/131/comments","events_url":"https://api.github.com/repos/jrief/django-angular/issues/131/events","html_url":"https://github.com/jrief/django-angular/issues/131","id":50027130,"number":131,"title":"Widget forms.CheckboxSelectMultiple selects all the boxes.","user":{"login":"grouser","id":2338773,"avatar_url":"https://avatars.githubusercontent.com/u/2338773?v=3","gravatar_id":"","url":"https://api.github.com/users/grouser","html_url":"https://github.com/grouser","followers_url":"https://api.github.com/users/grouser/followers","following_url":"https://api.github.com/users/grouser/following{/other_user}","gists_url":"https://api.github.com/users/grouser/gists{/gist_id}","starred_url":"https://api.github.com/users/grouser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grouser/subscriptions","organizations_url":"https://api.github.com/users/grouser/orgs","repos_url":"https://api.github.com/users/grouser/repos","events_url":"https://api.github.com/users/grouser/events{/privacy}","received_events_url":"https://api.github.com/users/grouser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-25T13:40:41Z","updated_at":"2015-04-24T09:01:13Z","closed_at":null,"body":"I have a form defined like that:\r\n\r\nclass ProductForm(NgFormValidationMixin, NgModelFormMixin, Bootstrap3ModelForm):\r\n     purses = forms.ModelMultipleChoiceField( \r\n         queryset=Purse.objects.all(), \r\n         widget=forms.CheckboxSelectMultiple)\r\n    .........\r\n\r\nIf a select any checkbox, the other ones are automatically selected as well."},"comment":{"url":"https://api.github.com/repos/jrief/django-angular/issues/comments/95858655","html_url":"https://github.com/jrief/django-angular/issues/131#issuecomment-95858655","issue_url":"https://api.github.com/repos/jrief/django-angular/issues/131","id":95858655,"user":{"login":"adrienbrunet","id":2616112,"avatar_url":"https://avatars.githubusercontent.com/u/2616112?v=3","gravatar_id":"","url":"https://api.github.com/users/adrienbrunet","html_url":"https://github.com/adrienbrunet","followers_url":"https://api.github.com/users/adrienbrunet/followers","following_url":"https://api.github.com/users/adrienbrunet/following{/other_user}","gists_url":"https://api.github.com/users/adrienbrunet/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienbrunet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienbrunet/subscriptions","organizations_url":"https://api.github.com/users/adrienbrunet/orgs","repos_url":"https://api.github.com/users/adrienbrunet/repos","events_url":"https://api.github.com/users/adrienbrunet/events{/privacy}","received_events_url":"https://api.github.com/users/adrienbrunet/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T09:01:13Z","updated_at":"2015-04-24T09:01:13Z","body":"I think I missed something, I still have the following problem:\r\n\"If a select any checkbox, the other ones are automatically selected as well.\" running django-angular 0.7.10\r\n\r\nI have a Model with a m2m relation:\r\n\r\n    class Thing(models.Model):\r\n        pass\r\n    \r\n    class SomeStuff(models.Model):\r\n         things = models.ManyToManyField(Thing)\r\n\r\n\r\n    class MyForm(NgModelFormMixin, NgFormValidationMixin, Bootstrap3ModelForm):\r\n        scope_prefix = 'foo'\r\n        form_name = 'foo_form'\r\n    \r\n        class Meta:\r\n            model = SomeStuff\r\n            fields = ('things', )\r\n            widgets = {'things': forms.CheckboxSelectMultiple()}\r\n\r\n\r\nAlso, the html rendering is wrong, I have the same layout than @grouser (did you fix it somehow?)"}}