@rxap/forms 13.0.5 → 13.0.6

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.
@@ -1235,6 +1235,12 @@ class FormDirective extends FormGroupDirective {
1235
1235
  return this._formDefinition;
1236
1236
  }
1237
1237
  ngOnChanges(changes) {
1238
+ // depending on the usage the member from is set after another member
1239
+ // triggers the ngOnChanges hook. to prevent an "angular" exception
1240
+ // the ngOnChanges is skipped if the member form is not set
1241
+ if (!this.form) {
1242
+ return;
1243
+ }
1238
1244
  super.ngOnChanges(changes);
1239
1245
  const formChange = changes.form;
1240
1246
  if (formChange && !formChange.firstChange) {