Clear selected items not working properly in latest version(1.0.1)
See original GitHub issueSelection is not clearing on clear button click.
Please find below code and link
<ngx-select-dropdown tabindex="0" (change)="changeValue($event)" [multiple]="true" [(ngModel)]="multiSelect" [config]="config" [options]="options"></ngx-select-dropdown>
onClearClick() { this.multiSelect = []; this.options = [...this.options]; }
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:12 (2 by maintainers)
Top Results From Across the Web
KB5017811—Manage Transport Layer Security (TLS) 1.0 ...
When you choose this option, the application reopens. Now, all the links that use TLS 1.0 and 1.1 work correctly. From then on,...
Read more >Clear SingleChoice ListView selection - android
selected in one ListView I want to deselect the item in the other ListView. Both ListViews raise the following handler when an item...
Read more >Items in explorer not changing color when selected in ...
This problem seems to be occurring only after starting the system from ... Select Windows Explorer from the list and click Restart in...
Read more >Turbo release notes
Fixed an issue where the state and province selectors would not function on the ... not clearing properly when visiting a URL with...
Read more >Tokyo Patch 1
The Tokyo Patch 1 release contains important problem fixes. ... instance App Shell Agent Workspace app version 1.0.1 to include Tokyo fixes ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey guys , I found solution for clear selected item. you just have to create a function and call on submit button. e.g, Html file:
<ngx-select-dropdown class="form-control_Dropdown" placeholder="Select Category"(change)="selectionChanged($event)" [multiple]="true" [config]="configForMultidropdown" [(ngModel)]="mapCategoryForm.categories" [options]="categoryList"></ngx-select-dropdown>
Ts file:
resetCategoryList() { this.mapCategoryForm.categories = []; // your ngModel list }
Same Issue is here?