ng-sortable icon indicating copy to clipboard operation
ng-sortable copied to clipboard

Make an particular item undraggable

Open aayush27 opened this issue 7 years ago • 0 comments

From the list, I want a particular item to be undruggable. I have tried is-disabled but it is not working in my case because I think it works only with as-sortable not with as-sortable-item.

My code:

<ul class="cards card-list" as-sortable="page.options" ng-model="page.positions[s._id]">
      <li  class="card" ng-repeat="p in page'" as-sortable-item is-disabled="p.GDPR" >{{p}}</li>
</ul>

It is not working when is-disabled condition is true.

aayush27 avatar Jan 24 '18 14:01 aayush27