-
Notifications
You must be signed in to change notification settings - Fork 383
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 there any way to define the limit of clone? #59
Comments
You mean like adding at most 5 children. That is a nice idea, but not possible at the moment. |
Yes, it is. I did quickly, using this piece of code:
|
Ok, I thought you ment possible as in "is it an option from cocoon". Nice work. |
Yes. This was only a workaround. ;D |
I am currently writing a gem to limit the amount of added elements in the cocoon (+ with possibility to limit through data-attribute). Version will be ready for testing on Monday ))) |
like this: http://www.andresvidal.com/labs/relcopy.html
thanks
The text was updated successfully, but these errors were encountered: