tuain-ng-forms-lib 12.0.72 → 12.0.73

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.
@@ -3427,11 +3427,12 @@
3427
3427
  BasicFormComponent.prototype.subscribeSectionActivation = function () {
3428
3428
  var _this = this;
3429
3429
  var formSections = this._formStructure.sections;
3430
- if (Array.isArray(formSections)) {
3431
- formSections.forEach(function (section) {
3432
- section.activation.subscribe(function (code) { return _this.launchSectionActivation(code); });
3433
- section.inactivation.subscribe(function (code) { return _this.launchSectionInactivation(code); });
3434
- });
3430
+ var sectionNames = Object.keys(formSections);
3431
+ for (var index = 0; index < sectionNames.length; index++) {
3432
+ var sectionName = sectionNames[index];
3433
+ var section = formSections[sectionName];
3434
+ section.activation.subscribe(function (code) { return _this.launchSectionActivation(code); });
3435
+ section.inactivation.subscribe(function (code) { return _this.launchSectionInactivation(code); });
3435
3436
  }
3436
3437
  };
3437
3438
  BasicFormComponent.prototype.subscribeFieldsSubjects = function () {