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

Is it possible to restrict the number of items dragged in a target container? #238

Closed
vikasgarghb opened this issue Jan 23, 2015 · 6 comments
Milestone

Comments

@vikasgarghb
Copy link

I have a drag and drop functionality, where I have a container which only accepts one item at max. With the plugin, I don't see any option to achieve this. I am using angular version of the plugin. Any help in this regard would be appreciable.

@RubaXa
Copy link
Collaborator

RubaXa commented Jan 25, 2015

Use option disabled.

@vikasgarghb
Copy link
Author

Can you shed more light on this?

RubaXa added a commit that referenced this issue Jan 27, 2015
RubaXa added a commit that referenced this issue Jan 27, 2015
@RubaXa
Copy link
Collaborator

RubaXa commented Jan 27, 2015

@vikasgarghb
Copy link
Author

That's awesome. Thanks.

@RubaXa
Copy link
Collaborator

RubaXa commented Jan 27, 2015

Forgot to add, the code is working only for dev-branch.

@RubaXa RubaXa added this to the v1.1.0 milestone Feb 11, 2015
@RubaXa RubaXa closed this as completed Feb 11, 2015
@smachi
Copy link

smachi commented Oct 19, 2015

And what if I have multiple lists with same initial config values (maxOneConfig in your jsbin example) and then I want to disable just the list that reached its max number of items allowed and not all the lists with shared config?

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

3 participants