@stemy/ngx-dynamic-form 13.1.11 → 13.1.12

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.
@@ -532,6 +532,8 @@ class DynamicFormService extends DynamicFormService$1 {
532
532
  result[subModel.id] = await serializer(subModel, subControl);
533
533
  continue;
534
534
  }
535
+ if (subModel.hidden && !subModel.additional?.serialize)
536
+ continue;
535
537
  if (subModel instanceof DynamicFormArrayModel) {
536
538
  const length = Array.isArray(subControl.value) ? subControl.value.length : 0;
537
539
  const subArray = subControl;