Closed croy618 closed 4 years ago
Thanks for reporting this issue. The problem can be reproduced with version 3.0.1. Version 3.0.0 does not show this problem (https://stackblitz.com/github/bithost-gmbh/ngx-mat-select-search-example/tree/3.0.0) I will investigate it and find a fix.
fixed with #250, will be released in version 3.0.3 today
Hello @macjohnny , Im using this lib and i find a bug like this, but a tiny different.
In the Stackblitz of this repo, precisely in mat-select multiple with toggle selection; here is the steps to reproduce it:
Regards
PD: this issue is not present in 3.0.0
A gif of the issue:
@begandroide thanks for reporting the issue. i created a separate issue #260
Thank you @macjohnny ! Subscribed to #260.
Describe the bug After clearing a filter that has no matches, currently selected options are removed from the selected list when selecting a filtered item.
To Reproduce
Expected behavior I expect Bank A (Switzerland) to be added to the list of selected options, with none of the currently selected options removed
Screenshots Gif of above https://gfycat.com/viciouscloseflyingfox
Desktop (please complete the following information):
Additional context Step 6 can also be replaced with a highlight all and backspace on the filter, or for some filter strings (step 5) regular backspaces. Some filter strings with no matches such as 'nothing' will not exhibit this behavior when backspaced normally, so this may be related somehow to whether prefix-substrings have any matches.