#11836: Missing django.forms.widgets.MultiWidget hidden counterpart
-----------------------------+---------------------------------------
     Reporter:  Sayane       |                    Owner:  David Smith
         Type:  New feature  |                   Status:  closed
    Component:  Forms        |                  Version:
     Severity:  Normal       |               Resolution:  wontfix
     Keywords:               |             Triage Stage:  Accepted
    Has patch:  1            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+---------------------------------------
Changes (by felixxm):

 * status:  assigned => closed
 * resolution:   => wontfix


Comment:

 `MultipleHiddenInput` was created as a `hidden_widget` for
 `MultipleChoiceField` (see fb60a6ff0acc84417ced061e83bb170fff351b59). It
 handles multiple hidden widgets for fields that have **a list of values**
 (see
 [https://docs.djangoproject.com/en/3.0/ref/forms/widgets/#multiplehiddeninput
 docs]), so the same names for all inputs is a desired behavior.

 You shouldn't use it as a `hiddent_widget` for `MultiValueField` because
 it's a different use case (multiple fields vs. multiple values).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/11836#comment:18>
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.b3821eceeb3a7b477b5e5915b822f0dd%40djangoproject.com.

Reply via email to