Open hwmetzger opened 1 year ago
I am using Angular 16 and this is my template...
<select2 [id]="'select2'" name="select2" class="form-control" [data]="getSelect2Data(dbData$ | async)" [value]="selectedValue" (update)="updateSelect2($event)" [styleMode]="'noStyle'" (close)="onClose($event)" />
If selectedValue is null, I can click the dropdown and select an option as expected. However, if selectedValue is not null, when I click the dropdown flashes then immediately triggers the close event and closes.
I have the same problem and it makes the whole library useless for me. Any solution?
I am using Angular 16 and this is my template...
If selectedValue is null, I can click the dropdown and select an option as expected. However, if selectedValue is not null, when I click the dropdown flashes then immediately triggers the close event and closes.