Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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 Jon Dufresne, 7 years ago

Has patch: set

comment:2 by Mariusz Felisiak, 7 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Tim Graham, 7 years ago

Summary: Use HTML5 boolean attribute syntax for `SelectWidget`'s multiple attributeUse HTML5 boolean attribute syntax for SelectMultiple's multiple attribute
Triage Stage: AcceptedReady for checkin

comment:4 by Tim Graham <timograham@…>, 7 years ago

Resolution: fixed
Status: newclosed

In 47d238b6:

Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean syntax.

comment:5 by Tim Graham <timograham@…>, 7 years ago

In 4b0f39d9:

Refs #29041 -- Fixed typo in docs/releases/2.1.txt.

Note: See TracTickets for help on using tickets.
Back to Top