#30014: Initialising disabled ModelChoiceField yields 'Select a valid
choice'-error
despite initialised option being valid
-------------------------------------+-------------------------------------
Reporter: thoha | Owner: Etienne
| Chove
Type: Bug | Status: closed
Component: Forms | Version: master
Severity: Normal | Resolution: fixed
Keywords: forms, disabled | Triage Stage: Ready for
field, error, to_field_name | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"e7cdb0cd7eb5eb677af8dae7bfc6845186f861b0" e7cdb0c]:
{{{
#!CommitTicketReference repository=""
revision="e7cdb0cd7eb5eb677af8dae7bfc6845186f861b0"
Fixed #30014 -- Fixed ModelChoiceField validation when initial value is a
model instance.
Thanks Carlton Gibson for reviews.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30014#comment:22>
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/063.ac16152b731d3ade65cea88ed7f2f792%40djangoproject.com.