-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: ion-datetime does not respect max/min value #12070
Comments
Thanks for opening an issue with us, we will look into this. |
Any news on this? |
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. Thank you for using Ionic! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Type: bug
Ionic Version: 2.x
Platform: all
Summary
During date selection, this specific scenario allows user to select dates past the maximum date set by option, and also allows selection of Non-existent dates like September 31.
Also occurs with allowing selection of dates before minimum dates.
Steps to Reproduce
Go to:
https://ionicframework.com/docs/api/components/datetime/DateTime/
Date will show September 31. even though September only has 30 days. Allows save.
Other scenarios
There are multiple scenarios that lead to similar problems:
Scenario 1:
Scenario 2:
Datepicker allows June 1 to be saved.
The text was updated successfully, but these errors were encountered: