Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Form] Fixed bug that incorrectly causes the "required" attribute to be ... #10089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.