add form options in the crud filter action

This commit is contained in:
Simon Vieille 2023-05-27 11:34:13 +02:00
parent 8b13d37e71
commit 497ee2f027
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -284,7 +284,7 @@ abstract class CrudController extends AdminController
throw $this->createNotFoundException();
}
$form = $this->createForm($type);
$form = $this->createForm($type, null, $configuration->getFormOptions('filter'));
$form->submit($session->get($form->getName(), []));
return $this->render($configuration->getView('filter'), [