@elite.framework/ng.core 1.0.11 → 1.0.13

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.
@@ -47,7 +47,7 @@ import * as i1$7 from 'primeng/splitbutton';
47
47
  import { SplitButtonModule } from 'primeng/splitbutton';
48
48
  import { InputGroupAddonModule } from 'primeng/inputgroupaddon';
49
49
  import { InputGroupModule } from 'primeng/inputgroup';
50
- import { finalize as finalize$1, tap } from 'rxjs/operators';
50
+ import { finalize as finalize$1 } from 'rxjs/operators';
51
51
  import { FormlyPrimeNGModule, withFormlyPrimeNG } from '@ngx-formly/primeng';
52
52
  import { ProgressSpinnerModule } from 'primeng/progressspinner';
53
53
  import { MessageModule } from 'primeng/message';
@@ -3749,7 +3749,7 @@ class GenericSelectorTypeComponent extends FieldType {
3749
3749
  this.formControl.setValue(Array.isArray(val) ? val.map((c) => c[vf]) : []);
3750
3750
  }
3751
3751
  else {
3752
- // this.formControl.setValue(val?.[vf] ?? null);
3752
+ this.formControl.setValue(val?.[vf] ?? null);
3753
3753
  // if(this.props.change){
3754
3754
  // this.props.change(this.field,{item:this.selectedItem});
3755
3755
  // }
@@ -3781,15 +3781,14 @@ class GenericSelectorTypeComponent extends FieldType {
3781
3781
  }
3782
3782
  // Subscribe to formControl value changes
3783
3783
  this.valueChangeSubscription = this.formControl.valueChanges
3784
- .pipe(tap(() => {
3784
+ .subscribe(() => {
3785
3785
  // This tap operator is a good place to run side effects
3786
3786
  // like calling your change handler after a value changes.
3787
3787
  this.selectedItem = this.formControl.value;
3788
3788
  if (this.props.change) {
3789
3789
  this.props.change(this.field, { item: this.selectedItem });
3790
3790
  }
3791
- }))
3792
- .subscribe();
3791
+ });
3793
3792
  }
3794
3793
  // Remember to unsubscribe to prevent memory leaks!
3795
3794
  ngOnDestroy() {