You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var el = document.querySelector('.select2-selection__rendered');
var sortable = Sortable.create(el);
it actually makes the selected options sortable and draggable. but it doesn't save. when I close the page or add a new item it goes back to the first state that it was.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys , I'm trying to make the following selection field sortable.
I use the following code
it actually makes the selected options sortable and draggable. but it doesn't save. when I close the page or add a new item it goes back to the first state that it was.
Beta Was this translation helpful? Give feedback.
All reactions