Multiple selection w/ hierachical data broken on master (allows to select parent items more than once) #775

Closed
ni-ka opened this Issue Jan 31, 2013 · 5 comments

3 participants

@ni-ka

Hey,

with the current master + hierarchical data and multiple items I can select the same parent item more than once, i.e. the already selected items are not removed from the dropdown anymore.

Additionally, the selection is extended to the clicked items following item once, and then to the clicked items parent, which leads to adding the parent of the clicked item to the selection on the 3rd click... very strange behavior!

Check http://jsfiddle.net/7xAf3/1/

After 1st click on "Parent 1.1":
After 1st click on "Parent 1.1"

After 2nd click on "Parent 1.1"
After 2nd click on "Parent 1.1"

After 3rd click on "Parent 1.1"
After 3rd click on "Parent 1.1"

@scottyrsx71

Similar issue here. I am using disabled options. You can't select those, so that works well now. But each item selected doesn't get removed from the dropdown list. So you can select the same option over and over again.

http://jsfiddle.net/scottyrsx71/8mWB8/

@ivaynberg ivaynberg closed this in 3f87728 Jan 31, 2013
@scottyrsx71

Thanks!

@ni-ka

Sorry but I've updated my test project and still have an issue with multiple items beeing selectable (selected items not removed from the drop down), and the behavior above still exists - it only happens after the 5th click thought

@ivaynberg

jsfiddle?

@ni-ka

the one from my first post still applies (though it links to the version on gh pages), but here is one using master http://plnkr.co/edit/osrPkXWNxXZODiYuukRK?p=preview

thanks for having a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment