-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
fix(datepicker): select correct month and year from month picker view… #4501
fix(datepicker): select correct month and year from month picker view… #4501
Conversation
… when displayMonths > 1
Codecov Report
@@ Coverage Diff @@
## development #4501 +/- ##
===============================================
- Coverage 75.66% 74.43% -1.23%
===============================================
Files 237 273 +36
Lines 7336 8321 +985
Branches 1464 1582 +118
===============================================
+ Hits 5551 6194 +643
- Misses 1379 1694 +315
- Partials 406 433 +27
Continue to review full report at Codecov.
|
@johnsmathew hey, thans for PR! Could you please add a test case for this issue? |
@valorkin Added test case for this scenario. I couldn't find any spec files for datepicker. So created a new spec file. |
@valorkin Can this be reviewed and merged please. |
Tested in Chrome, FF - latest, looks good. Need to update test for not disabling ts-lint rules and ready for merge. |
valor-software#4501) * fix(datepicker): select correct month and year from month picker view when displayMonths > 1 * test(datepicker): select correct year on month selection * test(datepicker): add test for show and hide * fix(tslint): fix tslint errors * feat(common): clean up
… when displayMonths > 1
Fixes #4500
PR Checklist
Before creating new PR, please take a look at checklist below to make sure that you've done everything that needs to be done before we can merge it.