IMS works fine if I only do a single operation (i.e. move one or more items from the left column to the right, or vice versa).
If I try to do more than one thing (i.e. move some items across to the right, and then some items back to the left), the new changes are not recorded so the node gets saved with only the original change in place.
It seems like the state of the form is recorded after the first change and then not updated again - even though the widget displays items correctly in the left and right boxes - regardless of how many changes you make.
Comments
Comment #2
SME Pals commentedComment #3
SME Pals commentedComment #4
wolffereast commentedDo you have reordering enabled? And if so is it possible to test if the error persists when reordering is disabled?
Comment #5
SME Pals commentedI didn't have it enabled.
I enabled it and retested it. It now appears to work correctly. The items left in the right hand box are the items recorded in the node.
Comment #6
wolffereast commentedHuh, I was having the opposite problem when testing earlier. When I have reordering enabled I am able to add things to the field and re order them but I'm not able to remove elements. Can you verify that you are able to remove elements from the field?
Comment #7
sushilkr commentedI am facing same issue it works first time when i edit node and use arrow to move after save it is not going to update.
No error is showing in javascript and console.
Comment #8
merilainen commentedConfirmed, enabling reording seems to make it work better, so that I can add new items, but still cannot remove any items.
Comment #9
sv commentedI guess this #2907326: IMS doesn't save selected values after any ajax event on the form submit issue is related and should resolve current one.
Comment #10
seborigin commentedIt seems to only partially solve the issue. Applying the patch allow now to add/remove items after a first edit but it doesn't seem to fix the re-ordering items.
Comment #11
dmitrii commentedShould be fixed in latest 8.x-1.x-dev
Please take a looksee
Comment #12
nileema19 commentedLatest development version ( 8.x-1.x-dev) has fixed the adding and removing items (i.e. move one or more items from the left column to the right, or vice versa).
Reordering issue also fixed but the order of items are not getting saved -https://www.drupal.org/project/improved_multi_select/issues/3007612#comm...
Comment #13
dmitrii commentedClosing this issue.
All remaining work will be tracked in https://www.drupal.org/project/improved_multi_select/issues/3007612