Commit c569ff7a by Damien Moulard

Fix anomalie 4 : champ Reference obligatoire

parent cd58f002
......@@ -96,7 +96,7 @@ class FluxFormType extends AbstractType
$builder
->add('reference', TextType::class, array(
'label' => 'Reference :',
'required' => false
'required' => true
))
->add('save', SubmitType::class, ['label' => "Valider"])
->addEventListener(FormEvents::POST_SUBMIT, function (FormEvent $event) use ($builder) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment