We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96552a3 commit 3a0df2bCopy full SHA for 3a0df2b
form/direct_submit.rst
@@ -17,7 +17,7 @@ control over when exactly your form is submitted and what data is passed to it::
17
$form = $this->createForm(TaskType::class, $task);
18
19
if ($request->isMethod('POST')) {
20
- $form->submit($request->request->get($form->getName()));
+ $form->submit($request->request->all($form->getName()));
21
22
if ($form->isSubmitted() && $form->isValid()) {
23
// perform some action...
0 commit comments