You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have formset with 3 forms max. User filled all forms and save. Then he decided to delete all forms but he can add new form :( because we have
// We're dealing with an inline formset.
// Rather than remove this form from the DOM, we'll mark it as deleted
// and hide it, then let Django handle the deleting:
del.val('on');
row.hide();
forms = $('.' + options.formCssClass).not(':hidden');
JS delete all forms but doesn't allow to add new (because we may add only 3 max forms).
How to be? :)
The text was updated successfully, but these errors were encountered:
radiac
added a commit
to radiac/django-dynamic-formset
that referenced
this issue
Nov 5, 2014
Hello!
I have formset with 3 forms max. User filled all forms and save. Then he decided to delete all forms but he can add new form :( because we have
JS delete all forms but doesn't allow to add new (because we may add only 3 max forms).
How to be? :)
The text was updated successfully, but these errors were encountered: