@wizishop/angular-components 14.4.64 → 14.4.65

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.
@@ -565,8 +565,8 @@ class ValueChangeService {
565
565
  return this.value !== this.getSelectedOptionsValues()[0];
566
566
  }
567
567
  handleSelectedOptionsEvent() {
568
- this.optionSelectedChangeListeners().subscribe((value) => {
569
- this.value = this.multiple ? this.getSelectedOptionsValues() : value;
568
+ this.optionSelectedChangeListeners().subscribe(() => {
569
+ this.value = this.getSelectedOptionsValues();
570
570
  });
571
571
  }
572
572
  updateSelectPlaceholder() {
@@ -590,7 +590,7 @@ class ValueChangeService {
590
590
  }
591
591
  optionSelectedChangeListeners() {
592
592
  const selectedChange$ = this.optionChildren.map((option) => {
593
- return option.selectedChange.pipe(filter(() => !this.disabled), map(() => option.getValue()));
593
+ return option.selectedChange.pipe(filter(() => !this.disabled));
594
594
  });
595
595
  return merge(...selectedChange$).pipe(takeUntil(this.resetListeners$));
596
596
  }