#26265: RendererMixin id_for_label causes HTML id uniqueness violation
-------------------------+------------------------------------
Reporter: scoenye | Owner: tedmx
Type: Bug | Status: assigned
Component: Forms | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------+------------------------------------
Comment (by scoenye):
IMHO, why not just remove the hardcoded _0 if the primary use of the
method at this level is to produce the value for the container element's
id attribute? Even if a developer really wants to use it in an outer label
element, there is no guarantee they would want it to act on the first
option.
--
Ticket URL: <https://code.djangoproject.com/ticket/26265#comment:6>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.e4390b75b427b0cbca9e99c7362e2bfa%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.