@churchillliving/se-ui-toolkit 6.53.387 → 6.53.388

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.
@@ -7199,12 +7199,16 @@
7199
7199
  if (event === void 0) { event = false; }
7200
7200
  this.formService.fieldFocusedOut = event;
7201
7201
  };
7202
+ FormComponent.prototype.ngOnDestroy = function () {
7203
+ var _a;
7204
+ (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
7205
+ };
7202
7206
  /**
7203
7207
  * Listens any change in Dynamic Form component State
7204
7208
  */
7205
7209
  FormComponent.prototype.onDynamicFormStateChange = function () {
7206
7210
  var _this = this;
7207
- onDynamicFormStateChange().subscribe(function (response) {
7211
+ this.subscription = onDynamicFormStateChange().subscribe(function (response) {
7208
7212
  var _a;
7209
7213
  if (response.id && response.data) {
7210
7214
  var componentRefObj_1 = _this.componentsList.find(function (x) { return x.name === response.id; });