Skip to content

Commit 0580b4d

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: replace get() with all() method to support non-scalar types
2 parents f54b14b + bf8ab1c commit 0580b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

form/direct_submit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ control over when exactly your form is submitted and what data is passed to it::
1717
$form = $this->createForm(TaskType::class, $task);
1818

1919
if ($request->isMethod('POST')) {
20-
$form->submit($request->request->get($form->getName()));
20+
$form->submit($request->request->all($form->getName()));
2121

2222
if ($form->isSubmitted() && $form->isValid()) {
2323
// perform some action...

0 commit comments

Comments
 (0)