@syncfusion/ej2-inputs 20.3.49 → 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.
@@ -1038,6 +1038,9 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
1038
1038
  if (this.element.hasAttribute('data-val')) {
1039
1039
  this.element.setAttribute('data-val', 'false');
1040
1040
  }
1041
+ if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
1042
+ this.enabled = false;
1043
+ }
1041
1044
  this.renderComplete();
1042
1045
  }
1043
1046
  };
@@ -3556,6 +3559,9 @@ var MaskedTextBox = /** @__PURE__ @class */ (function (_super) {
3556
3559
  if (this.element.getAttribute('value') || this.value) {
3557
3560
  this.element.setAttribute('value', this.element.value);
3558
3561
  }
3562
+ if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
3563
+ this.enabled = false;
3564
+ }
3559
3565
  this.renderComplete();
3560
3566
  }
3561
3567
  };
@@ -13402,6 +13408,9 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
13402
13408
  this.inputPreviousValue = this.value;
13403
13409
  this.respectiveElement.defaultValue = this.respectiveElement.value;
13404
13410
  Input.setWidth(this.width, this.textboxWrapper.container);
13411
+ if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
13412
+ this.enabled = false;
13413
+ }
13405
13414
  this.renderComplete();
13406
13415
  };
13407
13416
  TextBox.prototype.updateHTMLAttrToWrapper = function () {
@@ -13595,6 +13604,12 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
13595
13604
  this.trigger('input', eventArgs);
13596
13605
  this.inputPreviousValue = this.respectiveElement.value;
13597
13606
  this.raiseChangeEvent(event, true);
13607
+ if (closest(this.element, 'form')) {
13608
+ var element = this.element;
13609
+ var keyupEvent = document.createEvent('KeyboardEvent');
13610
+ keyupEvent.initEvent('keyup', false, true);
13611
+ element.dispatchEvent(keyupEvent);
13612
+ }
13598
13613
  }
13599
13614
  };
13600
13615
  TextBox.prototype.unWireEvents = function () {