chrv-components 1.11.23 → 1.11.25

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.
Binary file
@@ -2530,6 +2530,13 @@ class ChrFormComponent {
2530
2530
  effect(() => {
2531
2531
  this.set(this.model());
2532
2532
  });
2533
+ effect(() => {
2534
+ const disabled = this.disabled();
2535
+ if (disabled)
2536
+ this.form().disable({ emitEvent: false });
2537
+ else
2538
+ this.form().enable({ emitEvent: false });
2539
+ });
2533
2540
  }
2534
2541
  ngOnInit() {
2535
2542
  this.sections()