Changes between Initial Version and Version 1 of Ticket #35409
- Timestamp:
- Apr 26, 2024, 11:43:56 AM (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35409
- Property Component Uncategorized → Forms
- Property Resolution → worksforme
- Property Status new → closed
- Property Type Uncategorized → Bug
-
Ticket #35409 – Description
initial v1 2 2 3 3 In the form definition: 4 {{{ 4 5 recipients = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple) 6 }}} 5 7 6 In __init__: 8 In `__init__`: 9 {{{ 7 10 self.fields['recipients'].choices = recipient_choices 11 }}} 8 12 9 13 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.