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

Calendar only showing year from 2008 #2091

Closed
piyush-ampersand opened this issue Sep 4, 2018 · 7 comments · Fixed by #2140
Closed

Calendar only showing year from 2008 #2091

piyush-ampersand opened this issue Sep 4, 2018 · 7 comments · Fixed by #2140

Comments

@piyush-ampersand
Copy link

Version

0.7.1

Environment

The calendar only gives option to select the year greater than 2008 and upto 2027

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-ukyito

Steps to reproduce

No reproduction needed as with basic calendar the issue persist. Ideally user should be able to select any year.

What is expected?

User should be able to select dates before 2008 and 2027 also

What is actually happening?

User is only able to choose dates between 2008 and 2027

Other?

@piyush-ampersand
Copy link
Author

@vthinkxie Hey don't you think this is a requirement since by default a calendar should not be bounded and should give user the freedom of selecting any date just like datepicker

@vthinkxie
Copy link
Member

@piyush-ampersand will be supported in next version.

@piyush-ampersand
Copy link
Author

@vthinkxie Ok I understand, can you tell me how to restrict the years/months in calendar as I only want to show upcoming three months calendar but all previous months?

@piyush-ampersand
Copy link
Author

@vthinkxie Thank you for your support. So should I update my npm package now , will it available??

@vthinkxie
Copy link
Member

@piyush-ampersand please wait until the next version released

@lock
Copy link

lock bot commented Sep 17, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 17, 2019
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants