diff --git a/src/Controller/SpeciesController.php b/src/Controller/SpeciesController.php index 91206c6..984b70d 100644 --- a/src/Controller/SpeciesController.php +++ b/src/Controller/SpeciesController.php @@ -69,6 +69,8 @@ public function edit(Request $request, int $id, ManagerRegistry $doctrine): Resp $form = $this->createForm(SpeciesType::class, $species); + $form->handleRequest($request); + if ($form->isSubmitted() && $form->isValid()) { $em = $doctrine->getManager(); $species = $form->getData();