Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make an particular item undraggable #399

Open
aayush27 opened this issue Jan 24, 2018 · 0 comments
Open

Make an particular item undraggable #399

aayush27 opened this issue Jan 24, 2018 · 0 comments

Comments

@aayush27
Copy link

aayush27 commented Jan 24, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant