@syncfusion/ej2-calendars 21.1.41 → 21.2.3

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.
@@ -3304,10 +3304,13 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
3304
3304
  this.createInput();
3305
3305
  this.updateHtmlAttributeToWrapper();
3306
3306
  this.setAllowEdit();
3307
- this.updateInput(true);
3308
3307
  if (this.enableMask && !this.value && this.maskedDateValue && (this.floatLabelType === 'Always' || !this.floatLabelType || !this.placeholder)) {
3308
+ this.updateInput(true);
3309
3309
  this.updateInputValue(this.maskedDateValue);
3310
3310
  }
3311
+ else if (!this.enableMask) {
3312
+ this.updateInput(true);
3313
+ }
3311
3314
  this.previousElementValue = this.inputElement.value;
3312
3315
  this.previousDate = !isNullOrUndefined(this.value) ? new Date(+this.value) : null;
3313
3316
  this.inputElement.setAttribute('value', this.inputElement.value);