@wizishop/angular-components 14.4.5 → 14.4.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.
@@ -552,7 +552,7 @@ class ValueChangeService {
552
552
  return;
553
553
  }
554
554
  const selectedOption = this.getSelectedOptionComponent();
555
- this.selectedOptionContent = selectedOption?.getContentRef().nativeElement.innerHTML || undefined;
555
+ this.selectedOptionContent = selectedOption?.getContentRef();
556
556
  }
557
557
  getSelectedOptionComponent() {
558
558
  return this.optionChildren.find((option) => option.selected);
@@ -1824,6 +1824,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
1824
1824
 
1825
1825
  class RadioComponent {
1826
1826
  constructor() {
1827
+ // ! refacto
1827
1828
  this.label = '';
1828
1829
  this.id = '';
1829
1830
  this.alone = false;
@@ -4799,7 +4800,7 @@ class SelectTestComponent extends SelectDirective {
4799
4800
  this._required = value;
4800
4801
  }
4801
4802
  get selectedOptionContent() {
4802
- return this.valueChangeService.selectedOptionContent;
4803
+ return this.valueChangeService.selectedOptionContent?.nativeElement.innerHTML || undefined;
4803
4804
  }
4804
4805
  ;
4805
4806
  set keepPanelOpen(keepPanelOpen) {