@syncfusion/ej2-inputs 32.1.19 → 32.1.20

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.
@@ -2596,7 +2596,7 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
2596
2596
  var container = this.inputWrapper.container;
2597
2597
  var label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
2598
2598
  var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
2599
- if (label && calculateWidth) {
2599
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
2600
2600
  label.style.width = calculateWidth + 'px';
2601
2601
  }
2602
2602
  };
@@ -4436,7 +4436,7 @@ var MaskedTextBox = /** @__PURE__ @class */ (function (_super) {
4436
4436
  var container = this.inputObj.container;
4437
4437
  var label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
4438
4438
  var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
4439
- if (label && calculateWidth) {
4439
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
4440
4440
  label.style.width = calculateWidth + 'px';
4441
4441
  }
4442
4442
  };
@@ -14814,7 +14814,8 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
14814
14814
  }
14815
14815
  };
14816
14816
  TextBox.prototype.keydownHandler = function (args) {
14817
- if ((args.keyCode === 13 || args.keyCode === 9) && !((this.previousValue === null || this.previousValue === '') && (this.value === null || this.value === '') && this.respectiveElement.value === '')) {
14817
+ var isUndoAction = args.ctrlKey && args.keyCode === 90;
14818
+ if ((args.keyCode === 13 || args.keyCode === 9 || isUndoAction) && !((this.previousValue === null || this.previousValue === '') && (this.value === null || this.value === '') && this.respectiveElement.value === '')) {
14818
14819
  this.setProperties({ value: this.respectiveElement.value }, true);
14819
14820
  }
14820
14821
  };
@@ -15964,7 +15965,7 @@ var TextArea = /** @__PURE__ @class */ (function (_super) {
15964
15965
  var container = this.textareaWrapper.container;
15965
15966
  var label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
15966
15967
  var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
15967
- if (label && calculateWidth && (!this.prependTemplate || !this.appendTemplate)) {
15968
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1) && (!this.prependTemplate || !this.appendTemplate)) {
15968
15969
  label.style.width = calculateWidth + 'px';
15969
15970
  }
15970
15971
  else if (this.floatLabelType === 'Auto' && (this.prependTemplate || this.appendTemplate)) {