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 0910bb9 + fa741c2 commit 3cf1487Copy full SHA for 3cf1487
form/direct_submit.rst
@@ -15,6 +15,7 @@ control over when exactly your form is submitted and what data is passed to it::
15
16
public function new(Request $request)
17
{
18
+ $task = new Task();
19
$form = $this->createForm(TaskType::class, $task);
20
21
if ($request->isMethod('POST')) {
0 commit comments