#16754: forms.extras.widgets.SelectDateWidget.render ignores 'attr' parameter
--------------------------------------------------+------------------------
               Reporter:  kmike                   |          Owner:  nobody
                   Type:  Bug                     |         Status:  new
              Milestone:                          |      Component:  Forms
                Version:  1.3                     |       Severity:  Normal
             Resolution:                          |       Keywords:
           Triage Stage:  Design decision needed  |      Has patch:  0
    Needs documentation:  0                       |    Needs tests:  0
Patch needs improvement:  0                       |  Easy pickings:  1
                  UI/UX:  0                       |
--------------------------------------------------+------------------------
Changes (by julien):

 * needs_better_patch:   => 0
 * stage:  Unreviewed => Design decision needed
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 I agree that `attrs` should be used. However, those attributes are
 supposed to be applied to the widget as a whole rather than to its sub-
 select inputs. To me the proper way would be to wrap the sub-select inputs
 with a single piece of markup (e.g. `<DIV>`), and then the `attrs` could
 be applied to that. Although ideally this needs to be done in a way that
 doesn't break existing code and styles, so I'm marking as DDN until a
 proper working solution is proposed.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16754#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to