@syncfusion/ej2-inputs 29.1.39 → 29.2.5

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
  }
@@ -1375,7 +1381,7 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
1375
1381
  attributes(this.element, { 'aria-readonly': 'true' });
1376
1382
  }
1377
1383
  this.hiddenInput = (this.createElement('input', { attrs: { type: 'text',
1378
- 'validateHidden': 'true', 'aria-label': 'hidden', 'class': HIDDENELEMENT } }));
1384
+ 'data-validateHidden': 'true', 'aria-label': 'hidden', 'class': HIDDENELEMENT } }));
1379
1385
  this.inputName = this.inputName !== null ? this.inputName : this.element.id;
1380
1386
  this.element.removeAttribute('name');
1381
1387
  if (this.isAngular && this.angularTagName === 'EJS-NUMERICTEXTBOX' && this.cloneElement.id.length > 0) {
@@ -12070,6 +12076,9 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
12070
12076
  }
12071
12077
  if (!observedCloseArgs.cancel) {
12072
12078
  _this.onPopupClose();
12079
+ if (args.event.type === 'keydown' && args.event.keyCode === 27) {
12080
+ _this.splitBtn.element.focus();
12081
+ }
12073
12082
  }
12074
12083
  args.cancel = observedCloseArgs.cancel;
12075
12084
  callBackPromise.resolve(observedCloseArgs);