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

drag works but drop doesn't work #324

Open
BRAEIKMiled opened this issue Jun 2, 2017 · 1 comment
Open

drag works but drop doesn't work #324

BRAEIKMiled opened this issue Jun 2, 2017 · 1 comment

Comments

@BRAEIKMiled
Copy link

the drag is working well but the drop is not working, Here is a snippet of my code:
<div data-drag="true" jqyoui-draggable data-jqyoui-options="{helper: 'clone'}" id="{{device.id}}" class="device-list-item" ng-repeat="device in vm.deviceNames">
...
</div>
<div id="container" data-drop="true" data-jqyoui-options="{accept:'.device-list-item'}" jqyoui-droppable class="drop_container">
</div>

@kslo88
Copy link

kslo88 commented Jan 14, 2019

You need to specify ng-model in the <div id="container "> element.

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

2 participants