fix constraints of file in project form
This commit is contained in:
parent
8733a3498f
commit
798b66c96c
|
@ -65,11 +65,12 @@ class ProjectType extends AbstractType
|
|||
FilePickerType::class,
|
||||
[
|
||||
'label' => 'Image',
|
||||
'required' => false,
|
||||
'required' => true,
|
||||
'data_class' => null,
|
||||
'attr' => [
|
||||
],
|
||||
'constraints' => [
|
||||
new NotBlank(),
|
||||
],
|
||||
]
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue