Skip to content

Commit bf8ab1c

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: replace get() with all() method to support non-scalar types
2 parents 6a15e52 + 5fb46a1 commit bf8ab1c

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)