improve form attributes

This commit is contained in:
2019-02-01 16:13:43 +01:00
parent 4578625bb2
commit 156f306daa
2 changed files with 12 additions and 9 deletions

View File

@@ -115,7 +115,9 @@ class EventType extends AbstractType
->add('type', PickEventType::class)
->add('moderator', UserPickerType::class, array(
'center' => $options['center'],
'role' => $options['role']
'role' => $options['role'],
'placeholder' => '',
'required' => false
))
;
}