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

List view checkboxes - unable to select multiple items in list view, one by one. #11

Closed
paul-seal opened this issue Jan 5, 2018 · 1 comment
Milestone

Comments

@paul-seal
Copy link

I can use select all or I can select one item, but I can't select more than one item by ticking the checkbox.
See attached gif.

list-view-error

mattbrailsford added a commit that referenced this issue Jan 11, 2018
…rective does a comparison to see if an item is already selected.
@mattbrailsford
Copy link
Owner

Fixed in commit 4377b4b

Looks like the umbraco table directive needs a "key" property on an entity (which umbraco entities do). This key is compared with other selected items to see if an item is already selected. As all entities didn't have a key, these would be undefined and thus they are equal.

I've added some code to generate a key guid based on the id so it should be uniqe by entity. This should do the trick.

@mattbrailsford mattbrailsford added this to the 1.1.0 milestone Jan 11, 2018
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

2 participants