@syncfusion/ej2-calendars 32.1.21 → 32.1.23

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.
@@ -5398,16 +5398,20 @@ let DatePicker = class DatePicker extends Calendar {
5398
5398
  }
5399
5399
  }
5400
5400
  break;
5401
- default:
5402
- if (this.calendarElement && this.isCalendar()) {
5403
- super.onPropertyChanged(newProp, oldProp);
5404
- }
5401
+ case 'min':
5402
+ case 'max':
5405
5403
  if (prop === 'min' && isNullOrUndefined(this.min)) {
5406
5404
  this.min = new Date(1900, 0, 1);
5407
5405
  }
5408
5406
  if (prop === 'max' && isNullOrUndefined(this.max)) {
5409
5407
  this.max = new Date(2099, 11, 31);
5410
5408
  }
5409
+ this.errorClass();
5410
+ break;
5411
+ default:
5412
+ if (this.calendarElement && this.isCalendar()) {
5413
+ super.onPropertyChanged(newProp, oldProp);
5414
+ }
5411
5415
  break;
5412
5416
  }
5413
5417
  if (!this.isDynamicValueChanged) {