#29041 closed Cleanup/optimization (fixed)
Use HTML5 boolean attribute syntax for SelectMultiple's multiple attribute
| Reported by: | Jon Dufresne | Owned by: | nobody |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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.
Change History (5)
comment:1 by , 8 years ago
| Has patch: | set |
|---|
comment:2 by , 8 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:3 by , 8 years ago
| Summary: | Use HTML5 boolean attribute syntax for `SelectWidget`'s multiple attribute → Use HTML5 boolean attribute syntax for SelectMultiple's multiple attribute |
|---|---|
| Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
PR