-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(datepicker): Allow to disable specific dates #5046
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
feat(datepicker): Allow to disable specific dates #5046
Conversation
Codecov Report
@@ Coverage Diff @@
## development #5046 +/- ##
===============================================
- Coverage 74.78% 74.75% -0.04%
===============================================
Files 281 281
Lines 8547 8563 +16
Branches 1631 1634 +3
===============================================
+ Hits 6392 6401 +9
- Misses 1705 1712 +7
Partials 450 450
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## development #5046 +/- ##
===============================================
- Coverage 74.85% 74.75% -0.11%
===============================================
Files 281 281
Lines 8547 8571 +24
Branches 1631 1638 +7
===============================================
+ Hits 6398 6407 +9
- Misses 1701 1718 +17
+ Partials 448 446 -2
Continue to review full report at Codecov.
|
component: require('!!raw-loader?lang=typescript!./demos/disable-dates/disable-dates.ts'), | ||
html: require('!!raw-loader?lang=markup!./demos/disable-dates/disable-dates.html'), | ||
description: ` | ||
Decent description has to come here!!!`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frederikprijck Could you, please add appropriate description here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the description.
@Domainv Anything you want from me before this can get merged? I'd love to resolve it so we can get this merged! |
@frederikprijck Needs to add a unit test for the functionality |
Demo tested on latest Chrome, FF - looks good. Code reviewed, looks good. Related links added. |
Retested functionality with Daterangepicker demo, checked disabledDates param with inline datepicker, looks good. |
* feat(datepicker): Allow to disable specific dates * feat(datepicker): Move isDisabledDate outside of chronos * feat(datepicker): Add datesDisabled to inline datepicker * feat(datepicker): Add datesDisabled to daterangepicker * feat(datepicker): Update demo for datesDisabled * feat(datepicker): Add test for flag days calendar * feat(datepicker): update docs for datesDisabled * feat(datepicker): Fix typo * feat(datepicker): Add demo for datesDisabled with daterangepicker
* feat(datepicker): Allow to disable specific dates * feat(datepicker): Move isDisabledDate outside of chronos * feat(datepicker): Add datesDisabled to inline datepicker * feat(datepicker): Add datesDisabled to daterangepicker * feat(datepicker): Update demo for datesDisabled * feat(datepicker): Add test for flag days calendar * feat(datepicker): update docs for datesDisabled * feat(datepicker): Fix typo * feat(datepicker): Add demo for datesDisabled with daterangepicker
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.
closes #5028
related to #4993
closes #1821