bromcom-ui 2.3.65 → 2.3.66
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.
|
@@ -346,9 +346,15 @@ const BcmDatetimePicker = class {
|
|
|
346
346
|
if (disabledDatesData.min && disabledDatesData.min instanceof Date) {
|
|
347
347
|
this.disabledDatesList.min = new Date(disabledDatesData.min.toDateString());
|
|
348
348
|
}
|
|
349
|
+
else {
|
|
350
|
+
delete this.disabledDatesList.min;
|
|
351
|
+
}
|
|
349
352
|
if (disabledDatesData.max && disabledDatesData.max instanceof Date) {
|
|
350
353
|
this.disabledDatesList.max = new Date(disabledDatesData.max.toDateString());
|
|
351
354
|
}
|
|
355
|
+
else {
|
|
356
|
+
delete this.disabledDatesList.max;
|
|
357
|
+
}
|
|
352
358
|
const value = this.inputElement.value;
|
|
353
359
|
value && this.setDataFromText(value);
|
|
354
360
|
}
|