We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f54b14b + bf8ab1c commit 0580b4dCopy full SHA for 0580b4d
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