#29205: MultiValueField ignores a required value of a sub field
--------------------------------+---------------------------------------
Reporter: Takayuki Hirai | Owner: David Smith
Type: Bug | Status: assigned
Component: Forms | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+---------------------------------------
Comment (by David Smith):
Hi Leon, thanks for your message.
In your last example where you experience your expected behaviour both
`required` and `require_all_fields` are set to false on the MVF. In this
case I'd expect `form.is_valid()` to return `True` where none of the
fields are completed even though the `ChoiceField()` is `required`.
Is this the case and is this what you would expect to happen?
--
Ticket URL: <https://code.djangoproject.com/ticket/29205#comment:16>
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/064.17ecd0fcc0e15555daecd680a1804c26%40djangoproject.com.