Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

FormRow generetes invalid HTML for MonthSelect #5920

Conversation

grizzm0
Copy link
Contributor

@grizzm0 grizzm0 commented Mar 6, 2014

FormRow renders invalid HTML for MonthSelect, DateSelect and DateTimeSelect. A label can only be assigned to a single input while the mentioned classes generates a group of inputs.

DateSelect and DateTimeSelect both extends MonthSelect. Hence only checking MonthSelect.

Would I need any tests for this? Should I test the output of FormRow? If so, then I'd also have to check for ext/intl in the test.

weierophinney added a commit that referenced this pull request Mar 7, 2014
…elect

FormRow generetes invalid HTML for MonthSelect
weierophinney added a commit that referenced this pull request Mar 7, 2014
- opening brace goes on its own line for multi-line conditions
weierophinney added a commit that referenced this pull request Mar 7, 2014
@weierophinney weierophinney added this to the 2.3.0 milestone Mar 7, 2014
@weierophinney weierophinney self-assigned this Mar 7, 2014
@weierophinney
Copy link
Member

Merged to develop for release with 2.3.0.

@grizzm0 grizzm0 deleted the Form/View/Helper/FormRow-monthSelect branch June 10, 2017 11:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants