Knockoutjs sortable with helper:clone, doesn't clone and moves the original item -
strange issue, struggling couple days. have simple knockoutjs sortable page binds 2 lists below. move copy item list b. tried passing helper: 'clone' in options in documentation, doesn’t create copy , moves original item.
here http://jsfiddle.net/a5fl5/13/, shows problem. try moving item list b, , moves original item, , no copy created.
i haven’t been able figure out issues. appreciated.
<div class="a"> <ul data-bind="sortable: { data:staginglist.filteredtodos , options: {helper: 'clone', connecttosortable: '.okay'}}"> <li data-bind="text: itemlist"> </li> </ul> </div> <div class="b"> <ul data-bind="sortable: { data: daylist.dfilteredtodos }"> <li class="okay" data-bind="text: itemlist"> </li> </ul> </div> regards
srini
Comments
Post a Comment