You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing a year enables you to select an invalid date eg a Sunday when weekends are disabled.
Using the Date Picker example on the material-ui web site where selecting weekends is disabled, I selected September, 9, 2016 - a Friday. I then changed the year to 2012 when September 9th of September was a Sunday.
When I click the OK button the Sunday was selected.
I would have expected that pressing OK would have taken be back to the month/day selector and not allowed me to select the Sunday.
The text was updated successfully, but these errors were encountered:
oliviertassinari
changed the title
Date Picker - selecting a year does not trigger validation
[DatePicker] Selecting a year does not trigger validation
Sep 16, 2016
Changing a year enables you to select an invalid date eg a Sunday when weekends are disabled.
Using the Date Picker example on the material-ui web site where selecting weekends is disabled, I selected September, 9, 2016 - a Friday. I then changed the year to 2012 when September 9th of September was a Sunday.
When I click the OK button the Sunday was selected.
I would have expected that pressing OK would have taken be back to the month/day selector and not allowed me to select the Sunday.
The text was updated successfully, but these errors were encountered: