Skip to content

Make an particular item undraggable #399

@aayush27

Description

@aayush27

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions