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
matDatepickerFilter calls filter function even if the date is not withing min and max inputs #18411
matDatepickerFilter calls filter function even if the date is not withing min and max inputs #18411
Comments
Based on the documentation you use either |
…unds Doesn't call the `dateFilter` function for date is before the minimum or after the maximum in the month view. We were already doing this for the rest of the views, but I added some tests so we have coverage for it. Fixes angular#18411.
…unds Doesn't call the `dateFilter` function for date is before the minimum or after the maximum in the month view. We were already doing this for the rest of the views, but I added some tests so we have coverage for it. Fixes #18411.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-mat-datepicker-jajkwy
Steps to reproduce:
Expected Behavior
What behavior were you expecting to see?
That matDatepickerFilter function is not called if the date in calender is not within min and max values
Actual Behavior
What behavior did you actually see?
matDatepickerFilter function is called for all dates
Environment
The text was updated successfully, but these errors were encountered: