ng-multiselect-dropdown
ng-multiselect-dropdown copied to clipboard
Dropdown closes after each selection with singleSelection set to false
Angular Version: 10.2.5:
Dropdown version: 0.3.4:
I have singleSelection set to false for the dropdown settings but it still closes after each selection. I can still select multiple options but I have to click to open it back up after every selection:
Setup dropdown with below settings:
For dropdown to stay open while user is clicking options:
Dropdown closes after each selection is checked:
Any relevant code:
Settings object:
this.dropdownSettings = { singleSelection: false, idField: 'Id', textField: 'Description', selectAllText: 'Select All', unSelectAllText: 'UnSelect All', itemsShowLimit: 10, allowSearchFilter: true };
Call in template
<ng-multiselect-dropdown [placeholder]="'Product Categories'" [settings]="dropdownSettings" [data]="categoriesForProductAssociation" [(ngModel)]="selectedProduct.Categories" name="productCategories" #productCategories="ngModel"> </ng-multiselect-dropdown>
Hi, have you found a solution to solve this bug ? Simon.
Nope, haven't had a chance to dig any deeper into it.
Any update?
Any update?
did that issue resolve?
I'm also facing the same issue
I am also facing this issue, please suggest any solution
try version 0.2.10
I am also facing same issue initially it was working fine then i implemented the filter sorting in that , after that it is closing immidiately the dropdown after selection and deselection. i have updated the version of that library, i tried to use the closeDropDownOnSelection property in the dorpdown settings too still it is troubling me
I am also facing this issue. Why is this not resolved even though it was opened years ago
@sadeveloper2000 did you achieve a work around?
@Sriyanshjain27 I switched to https://github.com/ng-select/ng-select and it works perfectly.