p-calendar doesn't disable months outside of minDate/maxDate with view="month"
I'm submitting a ... (check one with "x")
[x ] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
Plunkr Case (Bug Reports) Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.
https://stackblitz.com/edit/github-wkccop
Current behavior Use p-calendar with view set to "month" and specify a minDate and/or maxDate. Months that lie outside of the minDate or maxDate are not disabled and can still be clicked. If clicked, it will select the minDate/maxDate.
Expected behavior Months that lie outside of the minDate or maxDate are disabled and cannot be clicked. Just the same as it already works for view="date".
-
Angular version: 7.X
-
PrimeNG version: 7.0.0
-
Browser: checked on Firefox, but should be in all browsers
-
Language: all
Another option to handle this case will be enabling templates for MonthPicker...
Any update on this issue please share
+1
+1
+1
+1
+1
I have set minDate to 02/28/2024 but it alone is disabling year 2024 as I can select date after February 2024