#29041: Use HTML5 boolean attribute syntax for `SelectWidget`'s multiple
attribute
------------------------------------------------+------------------------
Reporter: Jon Dufresne | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Forms | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
In the same spirit as tickets #26928, #27136, and #27256, use HTML5
boolean attribute syntax for `SelectWidget`'s multiple attribute:
{{{
<select multiple>...</select>
}}}
Instead of
{{{
<select multiple="mulltiple">...</select>
}}}
Per https://html.spec.whatwg.org/multipage/form-elements.html#the-select-
element
> The multiple attribute is a boolean attribute.
Per https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
> multiple
>
> This Boolean attribute indicates that multiple options can be selected
in the list.
--
Ticket URL: <https://code.djangoproject.com/ticket/29041>
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/052.20f42c870bc7b0760093d54d7a118251%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.