#32434: Using a RadioSelect widget with ModelChoiceField results in no empty
option
-------------------------------------+-------------------------------------
Reporter: Matthew Rowbottom | Owner: nobody
Type: Bug | Status: closed
Component: Forms | Version: 3.1
Severity: Normal | Resolution: invalid
Keywords: modelchoicefield | Triage Stage:
radioselect | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => invalid
Comment:
An empty option for `RadioSelect()` without `blank=True` in Django < 3.1
was a bug (see #26813 and da79ee472d803963dc3ea81ee67767dc06068aac).
That's why release notes are not included. You can add `blank=True` to
restore an empty option.
--
Ticket URL: <https://code.djangoproject.com/ticket/32434#comment:1>
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/068.eb2e448501160ec1f9a67de177e660eb%40djangoproject.com.