@skyux/datetime 5.1.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/skyux-datetime.umd.js +9 -0
- package/bundles/skyux-datetime.umd.js.map +1 -1
- package/esm2015/modules/datepicker/datepicker.component.js +10 -1
- package/fesm2015/skyux-datetime.js +9 -0
- package/fesm2015/skyux-datetime.js.map +1 -1
- package/modules/datepicker/datepicker.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2022,6 +2022,15 @@
|
|
|
2022
2022
|
_this.changeDetector.markForCheck();
|
|
2023
2023
|
});
|
|
2024
2024
|
}
|
|
2025
|
+
else {
|
|
2026
|
+
// If consumer returns an undefined value after custom dates have
|
|
2027
|
+
// already ben established, remove custom dates.
|
|
2028
|
+
if (this.customDates) {
|
|
2029
|
+
this.customDates = undefined;
|
|
2030
|
+
// Avoid an ExpressionChangedAfterItHasBeenCheckedError.
|
|
2031
|
+
this.changeDetector.detectChanges();
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2025
2034
|
}
|
|
2026
2035
|
};
|
|
2027
2036
|
SkyDatepickerComponent.prototype.closePicker = function () {
|