Skip to content

Conversation

@NickStemerdink
Copy link

...omitted from select even though it contains the "multiple" attribute.

According to the HTML5 specification the required attribute should be allowed in this case: "A select element with a required attribute and without a multiple attribute, and whose size is “1”, must have a child option element."

Related PR: #9030

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT

…be omitted from select even though it contains the "multiple" attribute
@fabpot
Copy link
Member

fabpot commented Jan 25, 2014

@NickStemerdink Can you make the same change in the PHP template and add some unit tests to cover this case? Thanks.

Nick Stemerdink added 2 commits January 25, 2014 15:53
- Updated unit tests (also added the "required" attribute to make it more obvious that the form is required)
@NickStemerdink
Copy link
Author

@fabpot Done

@NickStemerdink
Copy link
Author

ping @fabpot @webmozart
Any updates on this PR?

@fabpot
Copy link
Member

fabpot commented Mar 19, 2014

merged via #10491

@fabpot fabpot closed this Mar 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants