@klippa/ngx-enhancy-forms 11.5.1 → 11.5.2

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.
@@ -930,11 +930,7 @@ class FormCaptionComponent {
930
930
  // <some-input />
931
931
  // That would fail, because the logic of the form error is run first, and at that moment, the `some-input` isnt registered yet
932
932
  setTimeout(() => {
933
- const attachedControl = this.parent.getAttachedControl();
934
933
  this.parent.registerCaption(this.contentRef);
935
- if (isNullOrUndefined(attachedControl)) {
936
- throw new Error('You added a Form Caption component without an attached Form Control');
937
- }
938
934
  });
939
935
  }
940
936
  }