In Calender year view disable year issue #12151
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the feature you would like to see added
In primeng calendar, date can be lined through or disable using date template. Now I want same facilities for view="year". When view is just year, I cann't find something that can disable future years.
Is your feature request related to a problem?
I'm using calendar year view. Now disabling future years is a issue here. I've used [yearRange]="". But it is not working, I think because of depreciation or year view doesn't support yearRange. Another way is maxDate. But it is giving the option to select the year but when selected the max selected date is current date. Which I think is wrong.
primeng: 13.4.1
angular: 12.1.0
Describe the solution you'd like
I'm proposing that a yearRange feature for calender year view. This will give a option to disable years outside of the range .
Describe alternatives you have considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: