-
Notifications
You must be signed in to change notification settings - Fork 335
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
If singleSelect is true and listSelectedClass is not null, remove listSelectedClass from all other items in boundList #83
Comments
This does sounds like a bug. I'm about to do another release (a couple hours of freetime notwithstanding!) so will try to get this fix in. |
I've just tripped over this same issue in similar circumstances. With singleSelect:true, listSelectedClass and a boundList object set:
Otherwise, pretty cool. |
I also confirm that the class is added but never removed :) |
what's data supposed to be? I'm receiving TypeError: data.listItem is undefined |
Hello @mikemccaughan - Thank you for reporting this and apologies for the delayed reply! I have confirmed this to be a bug and upon researching have identified several different issues all of which occur regardless of whether or not the user clicks on an area or the corresponding API is involved ( Describe the bug
To Reproduce
Expected behavior |
I'm using ImageMapster's functionality for syncing with an external list, and it works like a charm, except that even if I have
singleSelect: true
in the options, I still see mutiple items in my external list as "selected". I do have a simple workaround:However, it would be nice if this were handled automatically. I expect the same thing applies to
listSelectedAttribute
.The text was updated successfully, but these errors were encountered: