-
Notifications
You must be signed in to change notification settings - Fork 79
add reorder selection property when order in selectize has been changed #96
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
base: master
Are you sure you want to change the base?
Conversation
addon/components/ember-selectize.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we have onItemAdd set two times here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
|
Did some refactoring to get the tests green but I couldn't find a better solution for this: mszoernyi@6ce8e6d#diff-d0312fe215da74aeb01ef78212c49b42R356 Any suggestions for this? |
|
Any updates on this? |
|
Still didn't have the time to review this, @mszoernyi. Sorry. |
|
actually I tried it and it stuck in the endless loop with addItem, onChange events. |
|
seems like doesn't work with the latest version. Will check when I get some time. I'm using this code with |
|
@mszoernyi then there is no need to this PR, I guess? It is a bit misleading, though, it gave me a couple of ideas. |
|
is there any other solution for selection ordering when drag_drop plugin is used? |
Closes #92
I'm not quite sure if the tests are enough and would appreciate some guidance :-)