Open YonatanKra opened 10 years ago
Please post some code that shows the error.
Sorry. Here's my view simplified:
<div ng-repeat="item in items">
<div kendo-drop-target="dropTargets[$index].object"
k-options="dropTargets[$index].options">
<!-- some draggable content comes here -->
</div>
</div>
As for the model, options is set normally, except the "drop" function, which is quite complex:
drop: function(e){
//this function replaces the content between a draggable item's source element and the drop target's content
replaceTargetWithSource(e);
}
Here's a scenario that gives me an error: 1) I have a div that is a dropTarget. 2) When I "route" away from the view, the div is destroyed. 3) During the routing procedure, I get an error:
My angular-kendo was updated yesterday from the repository. Any idea why this happens?