mapa-library-ui 2.5.5 → 2.5.7

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.
@@ -4,7 +4,7 @@ import { CdkConnectedOverlay, CdkOverlayOrigin } from '@angular/cdk/overlay';
4
4
  import { toObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
5
  import * as i1$2 from '@angular/forms';
6
6
  import { ReactiveFormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
7
- import { merge } from 'rxjs';
7
+ import { merge, EMPTY } from 'rxjs';
8
8
  import * as i1 from '@angular/common';
9
9
  import { CommonModule } from '@angular/common';
10
10
  import { MatFormFieldModule } from '@angular/material/form-field';
@@ -393,7 +393,7 @@ class MapaDropdownComponent {
393
393
  set formControl(control) {
394
394
  this.formControlChanges?.unsubscribe();
395
395
  this.formControlValue = control;
396
- this.formControlChanges = merge(control.valueChanges, control.statusChanges)
396
+ this.formControlChanges = merge(control.events, control.parent?.events ?? EMPTY)
397
397
  .pipe(takeUntilDestroyed(this.destroyRef))
398
398
  .subscribe(() => this.cdr.markForCheck());
399
399
  }