@syncfusion/ej2-inputs 20.3.50 → 20.3.56

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.
@@ -1017,6 +1017,9 @@ let NumericTextBox = class NumericTextBox extends Component {
1017
1017
  if (this.element.hasAttribute('data-val')) {
1018
1018
  this.element.setAttribute('data-val', 'false');
1019
1019
  }
1020
+ if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
1021
+ this.enabled = false;
1022
+ }
1020
1023
  this.renderComplete();
1021
1024
  }
1022
1025
  }
@@ -3500,6 +3503,9 @@ let MaskedTextBox = class MaskedTextBox extends Component {
3500
3503
  if (this.element.getAttribute('value') || this.value) {
3501
3504
  this.element.setAttribute('value', this.element.value);
3502
3505
  }
3506
+ if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
3507
+ this.enabled = false;
3508
+ }
3503
3509
  this.renderComplete();
3504
3510
  }
3505
3511
  }
@@ -13127,6 +13133,9 @@ let TextBox = class TextBox extends Component {
13127
13133
  this.inputPreviousValue = this.value;
13128
13134
  this.respectiveElement.defaultValue = this.respectiveElement.value;
13129
13135
  Input.setWidth(this.width, this.textboxWrapper.container);
13136
+ if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
13137
+ this.enabled = false;
13138
+ }
13130
13139
  this.renderComplete();
13131
13140
  }
13132
13141
  updateHTMLAttrToWrapper() {