update default page form builder

This commit is contained in:
Simon Vieille 2021-06-09 16:22:44 +02:00
parent 901a7cab8c
commit d34bb1daed
1 changed files with 6 additions and 4 deletions

View File

@ -23,10 +23,12 @@ class SimplePage extends Page
TextBlockType::class, TextBlockType::class,
[ [
'label' => 'Titre', 'label' => 'Titre',
'required' => true, 'options' => [
'attr' => [ 'required' => true,
], 'attr' => [
'constraints' => [ ],
'constraints' => [
],
], ],
] ]
); );