@syncfusion/ej2-calendars 21.1.37 → 21.1.38

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.
@@ -4894,7 +4894,7 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
4894
4894
  addClass([this.inputWrapper.container], ERROR);
4895
4895
  attributes(this.inputElement, { 'aria-invalid': 'true' });
4896
4896
  }
4897
- else {
4897
+ else if (!isNullOrUndefined(this.inputWrapper)) {
4898
4898
  removeClass([this.inputWrapper.container], ERROR);
4899
4899
  attributes(this.inputElement, { 'aria-invalid': 'false' });
4900
4900
  }