We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f7068 commit ee6739dCopy full SHA for ee6739d
cookbook/form/form_collections.rst
@@ -405,7 +405,7 @@ one example:
405
var newForm = prototype.replace(/\$\$name\$\$/g, index);
406
407
// increase the index with one for the next item
408
- collectionHolder.attr('index', index + 1);
+ collectionHolder.data('index', index + 1);
409
410
// Display the form in the page in an li, before the "Add a tag" link li
411
var $newFormLi = $('<li></li>').append(newForm);
0 commit comments