@ardium-pl/devkit 8.4.1 → 8.4.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.
@@ -2546,8 +2546,17 @@ class FormControlTracker {
2546
2546
  }
2547
2547
  // grab the AbstractControl instance
2548
2548
  const instance = ngControl.control;
2549
- if (!instance)
2549
+ // ensure that control is not InteropNgControl from Angular 22
2550
+ // (even though the library is using Angular 18)
2551
+ // but it causes issues when paired with signal forms
2552
+ // InteropNgControl is always recurrently linked to itself through the control property
2553
+ if (!instance ||
2554
+ typeof instance !== 'object' ||
2555
+ ('control' in instance && instance.control === instance) ||
2556
+ !('events' in instance) ||
2557
+ !isObservable(instance.events)) {
2550
2558
  return;
2559
+ }
2551
2560
  this.instance = instance;
2552
2561
  }
2553
2562
  }