@syncfusion/ej2-calendars 32.1.20 → 32.1.22

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.
@@ -5452,16 +5452,20 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
5452
5452
  }
5453
5453
  }
5454
5454
  break;
5455
- default:
5456
- if (this.calendarElement && this.isCalendar()) {
5457
- _super.prototype.onPropertyChanged.call(this, newProp, oldProp);
5458
- }
5455
+ case 'min':
5456
+ case 'max':
5459
5457
  if (prop === 'min' && isNullOrUndefined(this.min)) {
5460
5458
  this.min = new Date(1900, 0, 1);
5461
5459
  }
5462
5460
  if (prop === 'max' && isNullOrUndefined(this.max)) {
5463
5461
  this.max = new Date(2099, 11, 31);
5464
5462
  }
5463
+ this.errorClass();
5464
+ break;
5465
+ default:
5466
+ if (this.calendarElement && this.isCalendar()) {
5467
+ _super.prototype.onPropertyChanged.call(this, newProp, oldProp);
5468
+ }
5465
5469
  break;
5466
5470
  }
5467
5471
  if (!this.isDynamicValueChanged) {