Clearing values is not working for single selection mode.
See original GitHub issueOn click of ‘X’ mark , the items is not getting removed for [multiple]=“false” , But for [multiple]=“true” it is. Version : 1.4.4 This is my below code :
<div class="row">
<div class="col-sm-12">
<ngx-select-dropdown #auto
(change)="selectEvent($event)"
[multiple]="false"
[config]="dropdownSettings"
[options]="dropdownList"
[(ngModel)]="selectedOptions"
>
</ngx-select-dropdown>
</div>
<span class="invalid-autocomplete col-sm-12">
<span *ngIf="!isValid" class="">{{ errorMsg }}</span>
</span>
</div>
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Bug in SelectionModel single selection mode #10051 - GitHub
This model doesn't handle the scenario where there's no selection at initialization (e.g. empty table) when it's single selection mode.
Read more >How to programmatically clear/reset React-Select?
I came across this problem myself and managed to fix it by passing a key to the React-Select component, with the selected value...
Read more >SelectionModel (JavaFX 8) - Oracle Help Center
A method that clears any selection prior to setting the selection to the given index. The purpose of this method is to avoid...
Read more >Table control: Line selection single issue - SAP Community
1. Write a module in the PAI of screen(inside loop-endloop). There you write code to deselect all the rows(i.e. clear the "column selection" ......
Read more >Deselect a selection - Microsoft Support
Deselect selected cells with Ctrl+Left-Click. If you've already selected a cell, clicking on it again will deselect it.
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
Facing the same issue, is it fixed or not?
am also having this issue does anyone have a solution to this