@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.
@@ -2560,7 +2560,7 @@ let NumericTextBox = class NumericTextBox extends Component {
2560
2560
  const container = this.inputWrapper.container;
2561
2561
  const label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
2562
2562
  const calculateWidth = (container.clientWidth - this.getRightIconsWidth());
2563
- if (label && calculateWidth) {
2563
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
2564
2564
  label.style.width = calculateWidth + 'px';
2565
2565
  }
2566
2566
  }
@@ -4373,7 +4373,7 @@ let MaskedTextBox = class MaskedTextBox extends Component {
4373
4373
  const container = this.inputObj.container;
4374
4374
  const label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
4375
4375
  const calculateWidth = (container.clientWidth - this.getRightIconsWidth());
4376
- if (label && calculateWidth) {
4376
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
4377
4377
  label.style.width = calculateWidth + 'px';
4378
4378
  }
4379
4379
  }
@@ -14534,7 +14534,8 @@ let TextBox = class TextBox extends Component {
14534
14534
  }
14535
14535
  }
14536
14536
  keydownHandler(args) {
14537
- if ((args.keyCode === 13 || args.keyCode === 9) && !((this.previousValue === null || this.previousValue === '') && (this.value === null || this.value === '') && this.respectiveElement.value === '')) {
14537
+ const isUndoAction = args.ctrlKey && args.keyCode === 90;
14538
+ if ((args.keyCode === 13 || args.keyCode === 9 || isUndoAction) && !((this.previousValue === null || this.previousValue === '') && (this.value === null || this.value === '') && this.respectiveElement.value === '')) {
14538
14539
  this.setProperties({ value: this.respectiveElement.value }, true);
14539
14540
  }
14540
14541
  }
@@ -15660,7 +15661,7 @@ let TextArea = class TextArea extends Component {
15660
15661
  const container = this.textareaWrapper.container;
15661
15662
  const label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
15662
15663
  const calculateWidth = (container.clientWidth - this.getRightIconsWidth());
15663
- if (label && calculateWidth && (!this.prependTemplate || !this.appendTemplate)) {
15664
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1) && (!this.prependTemplate || !this.appendTemplate)) {
15664
15665
  label.style.width = calculateWidth + 'px';
15665
15666
  }
15666
15667
  else if (this.floatLabelType === 'Auto' && (this.prependTemplate || this.appendTemplate)) {