ChillCUstomFieldsBundle: Symfony\Component\Frm\FormFactory::createNamedBuilder(): Argument #1 () must be of type string

This commit is contained in:
Christophe Siraut 2024-11-20 12:34:19 +01:00
parent 88c0b1570d
commit 65902ea231

View File

@ -298,7 +298,7 @@ class CustomFieldsGroupController extends AbstractController
->setCustomFieldsGroup($customFieldsGroup);
$builder = $this->get('form.factory')
->createNamedBuilder(null, FormType::class, $customfield, [
->createNamedBuilder('', FormType::class, $customfield, [
'method' => 'GET',
'action' => $this->generateUrl('customfield_new'),
'csrf_protection' => false,