8000 Merge branch '3.4' into 4.4 · symfony/symfony-docs@74b9cf5 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 74b9cf5

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Fix count input on form collection
2 parents ff026e2 + 90c111a commit 74b9cf5

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(' 5114 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)
0