#35409: CheckbioxMultipleSelect widget is broken
------------------------------------------+------------------------
Reporter: Marc Gomillion | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 4.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------+------------------------
My application has an emailer page with a list of recipients that can be
edited as follows.
In the form definition:
recipients =
forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple)
In __init__:
self.fields['recipients'].choices = recipient_choices
This has worked since 2009, but Django 4.2.x has broken it as it does not
insert line breaks between the recipients and the list is a jumbled mess.
I've coded around it by using the SelectMultiple widget, which still
allows editing of the list, but not in obvious ways to my users, and is
thus unacceptable.
I've attached images of the list using Django 3.2 and 4.2.
--
Ticket URL: <https://code.djangoproject.com/ticket/35409>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018f1b19b484-e7020ace-76c8-4e2a-b09f-537ac9249411-000000%40eu-central-1.amazonses.com.