@churchillliving/se-ui-toolkit 6.53.522 → 6.53.523

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.
@@ -7462,15 +7462,18 @@
7462
7462
  */
7463
7463
  FormComponent.prototype.sectionDisabled = function (formSection) {
7464
7464
  if (formSection.disabled) {
7465
- formSection.fields.map(function (field) {
7466
- field.disabled = true;
7467
- });
7468
- return formSection;
7465
+ return this.disabledSectionFields(formSection, true);
7469
7466
  }
7470
7467
  else {
7471
- return formSection;
7468
+ return this.disabledSectionFields(formSection, false);
7472
7469
  }
7473
7470
  };
7471
+ FormComponent.prototype.disabledSectionFields = function (formSection, disabled) {
7472
+ formSection.fields.map(function (field) {
7473
+ field.disabled = disabled;
7474
+ });
7475
+ return formSection;
7476
+ };
7474
7477
  FormComponent.prototype.loadIFrame = function (formField) {
7475
7478
  var _a, _b, _c;
7476
7479
  this.handleClickEvent(formField);