-
Notifications
You must be signed in to change notification settings - Fork 143
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
Min and Max date isn't respected by input #639
Comments
Hi @LePacko, can you please create a stacjblitz? |
https://stackblitz.com/edit/ng2-date-picker-weqox6?file=app%2Fapp.component.html If you go on this url you will see max date set as 17/11/2023 but you can manually input it at 19/11/2023 and in the calendar the date gonne be selected like it's valid |
You are using angular 4. Pleae update to the latest version to verify that the issue still occures |
the project is updated and the bug still here https://stackblitz.com/edit/ng2-date-picker-ykhvbv?file=package.json |
the latest version is 17, but I assume that the issue is also present in 17. Checking. |
You can test it on your own demo link Just set a max date, when you see in the calendar you can't pick it try to input it manually and you will see the date gonna be selected. |
If you add a maximum or minimum date to your configuration, clicking on the calendar does not work as expected. However, if you use the input and set an invalid date, the date picker accepts it and places it in the calendar as accepted, even though it falls outside the expected range.
Version 16.0.0
Angular 16.2.8
all browser
The text was updated successfully, but these errors were encountered: