<img src="https://cdn.cnvloyalty.com/2024/2/3/Screenshot%202024-02-03%20at%2013.21.49.png">
When I click on option of ng-select, menu close too. How can I fixed this?
Hi Thy Nguyen
In the docs, it seems you can use closeOnSelect option
https://github.com/ng-select/ng-select
You can try to set closeOnSelect to false: In your template where you're using ng-select, add the closeOnSelect input binding:
<ng-select
[items]="items"
bindLabel="name"
bindValue="id"
[multiple]="true"
placeholder="Select categories"
[(ngModel)]="selectedCategories"
[closeOnSelect]="false"
>
</ng-select>