@syncfusion/ej2-inputs 29.1.38 → 29.2.4

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.
@@ -616,7 +616,10 @@ var Input;
616
616
  floatTextContent.children[0].textContent = placeholder;
617
617
  }
618
618
  else {
619
- parentElement.getElementsByClassName(CLASSNAMES.FLOATTEXT)[0].textContent = placeholder;
619
+ var floatText = parentElement.getElementsByClassName(CLASSNAMES.FLOATTEXT)[0];
620
+ if (!isNullOrUndefined(floatText)) {
621
+ floatText.textContent = placeholder;
622
+ }
620
623
  }
621
624
  parentElement.classList.remove(CLASSNAMES.NOFLOATLABEL);
622
625
  element.removeAttribute('placeholder');
@@ -628,7 +631,10 @@ var Input;
628
631
  floatTextContent.children[0].textContent = '';
629
632
  }
630
633
  else {
631
- parentElement.getElementsByClassName(CLASSNAMES.FLOATTEXT)[0].textContent = '';
634
+ var floatText = parentElement.getElementsByClassName(CLASSNAMES.FLOATTEXT)[0];
635
+ if (!isNullOrUndefined(floatText)) {
636
+ floatText.textContent = '';
637
+ }
632
638
  }
633
639
  }
634
640
  }
@@ -1843,7 +1849,9 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
1843
1849
  }
1844
1850
  }
1845
1851
  this.inputValue = value;
1846
- this.changeValue(value === null || isNaN(value) ? null : this.strictMode ? this.trimValue(value) : value);
1852
+ if (!(this.isVue && this.element && this.element.hasAttribute('modelvalue') && this.isDynamicChange)) {
1853
+ this.changeValue(value === null || isNaN(value) ? null : this.strictMode ? this.trimValue(value) : value);
1854
+ }
1847
1855
  /* istanbul ignore next */
1848
1856
  if (!this.isDynamicChange) {
1849
1857
  this.raiseChangeEvent(event);
@@ -12068,6 +12076,9 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
12068
12076
  }
12069
12077
  if (!observedCloseArgs.cancel) {
12070
12078
  _this.onPopupClose();
12079
+ if (args.event.type === 'keydown' && args.event.keyCode === 27) {
12080
+ _this.splitBtn.element.focus();
12081
+ }
12071
12082
  }
12072
12083
  args.cancel = observedCloseArgs.cancel;
12073
12084
  callBackPromise.resolve(observedCloseArgs);