mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
fix deprecations: setDefaultOptions -> configureOptions
This commit is contained in:
@@ -64,7 +64,7 @@ class PersonType extends AbstractType
|
||||
->add('firstName')
|
||||
->add('lastName')
|
||||
->add('birthdate', DateType::class, array('required' => false, 'widget' => 'single_text', 'format' => 'dd-MM-yyyy'))
|
||||
->add('gender', new GenderType(), array(
|
||||
->add('gender', GenderType::class, array(
|
||||
'required' => true
|
||||
))
|
||||
->add('memo', TextareaType::class, array('required' => false))
|
||||
|
Reference in New Issue
Block a user