Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiselect incorrect object "checked" #284

Closed
brneas opened this issue Oct 21, 2021 · 4 comments
Closed

Multiselect incorrect object "checked" #284

brneas opened this issue Oct 21, 2021 · 4 comments

Comments

@brneas
Copy link

brneas commented Oct 21, 2021

When using the dialog mode with a dropdown multi select when you select an item and the search for another one, the checkbox does not disappear.

You can reproduce this by having a dropdown with multiple items.

  1. Select the first item in the list
  2. Search for an item that is not the one you selected
  3. You'll see that the item you searched for is "checked" but you did not select it and within the code it is not technically checked. The checkbox does not get cleared.

There should be a gif/video attached with an example of this happening
VS4IhqdNhq
.

@salim-lachdhaf
Copy link
Owner

thank you for reporting that and the clear description.
we will fix that.

@salim-lachdhaf
Copy link
Owner

salim-lachdhaf commented Oct 23, 2021

could you past your compareFn if your object is not a String

@simonegraziano
Copy link

@salim-lachdhaf Thank you. I had the some problem and I fixed it implementing the compareFn method

@salim-lachdhaf
Copy link
Owner

bug fixed in v2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants