Skip to content

Commit 8e14ac2

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Fix count input on form collection
2 parents 2e201f1 + 74b9cf5 commit 8e14ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

form/form_collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ will be show next):
327327
328328
// count the current form inputs we have (e.g. 2), use that as the new
329329
// index when inserting a new item (e.g. 2)
330-
$collectionHolder.data('index', $collectionHolder.find(':input').length);
330+
$collectionHolder.data('index', $collectionHolder.find('input').length);
331331
332332
$addTagButton.on('click', function(e) {
333333
// add a new tag form (see next code block)

0 commit comments

Comments
 (0)