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

Datepickers disable entire months/years when disabling weekends #5655

Closed
valerio-lucantonio opened this issue Aug 7, 2020 · 3 comments
Closed
Assignees

Comments

@valerio-lucantonio
Copy link

Reproduction link

https://stackblitz.com/edit/angular-85ayk8

Steps to reproduce

  1. create a function to disable weekends
  2. pass it to the nzDisableDate
  3. open the datepicker
  4. click on the year/month list on top of the calendar
  5. some years/months are disabled and they should not

What is expected?

the months/years to be enabled

What is actually happening?

the months/years to be disabled

Environment Info
ng-zorro-antd 9.3.0
Browser chrome

I noticed in console that not all the dates of a month/year are passed to the functions

@wenqi73
Copy link
Member

wenqi73 commented Aug 7, 2020

Related to #5633.

@valerio-lucantonio
Copy link
Author

valerio-lucantonio commented Oct 9, 2020

Hello, with which version will this bug be delivered?

@wenqi73
Copy link
Member

wenqi73 commented Oct 9, 2020

@valerio-lucantonio Next version, it will be released a few hours later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants