Успешно ли реализован jQuery's sortable
с помощью чипов Materialize.css? Я пытаюсь переупорядочить их, но внутренние данные не отвечают на порядок после сортировки.Сортировка чипов Materialize.css
https://jqueryui.com/sortable/
http://materializecss.com/chips.html
`` `
$(".location-chips").sortable({
stop: function(e, ui){
// This is still in the original order
console.log($(this).material_chip('data').map(function(o){return o.tag}).join(";"))
}
})
` ``