add validation of existing file

This commit is contained in:
2018-06-07 16:54:13 +02:00
parent 299491cb5b
commit fcc74c993d
11 changed files with 75 additions and 8 deletions

View File

@@ -65,7 +65,9 @@ class PersonDocumentType extends AbstractType
->add('description', TextareaType::class, [
'required' => false
])
->add('object', StoredObjectType::class)
->add('object', StoredObjectType::class, [
'error_bubbling' => true
])
->add('scope', ScopePickerType::class, [
'center' => $options['center'],
'role' => $options['role']