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,
|
FilePickerType::class,
|
||||||
[
|
[
|
||||||
'label' => 'Image',
|
'label' => 'Image',
|
||||||
'required' => false,
|
'required' => true,
|
||||||
'data_class' => null,
|
'data_class' => null,
|
||||||
'attr' => [
|
'attr' => [
|
||||||
],
|
],
|
||||||
'constraints' => [
|
'constraints' => [
|
||||||
|
new NotBlank(),
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue