@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.
@@ -4846,7 +4846,7 @@ let DatePicker = class DatePicker extends Calendar {
4846
4846
  addClass([this.inputWrapper.container], ERROR);
4847
4847
  attributes(this.inputElement, { 'aria-invalid': 'true' });
4848
4848
  }
4849
- else {
4849
+ else if (!isNullOrUndefined(this.inputWrapper)) {
4850
4850
  removeClass([this.inputWrapper.container], ERROR);
4851
4851
  attributes(this.inputElement, { 'aria-invalid': 'false' });
4852
4852
  }