Skip to content
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

In Calender year view disable year issue #12151

Closed
faisal6699 opened this issue Nov 9, 2022 · 0 comments · Fixed by #12154
Closed

In Calender year view disable year issue #12151

faisal6699 opened this issue Nov 9, 2022 · 0 comments · Fixed by #12154
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@faisal6699
Copy link
Contributor

faisal6699 commented Nov 9, 2022

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

@faisal6699 faisal6699 added the Type: New Feature Issue contains a new feature or new component request label Nov 9, 2022
@cetincakiroglu cetincakiroglu self-assigned this Jan 31, 2023
@cetincakiroglu cetincakiroglu added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 31, 2023
@mertsincan mertsincan added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add and removed Type: New Feature Issue contains a new feature or new component request Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 18, 2023
@mertsincan mertsincan added this to the 16.2.1 milestone Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
3 participants