mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 02:23:51 +00:00
fix deprecations: add choices_as_values=true + flip contents of choice in ChoiceType
This commit is contained in:
@@ -28,6 +28,7 @@ class GenderType extends AbstractType {
|
||||
|
||||
$resolver->setDefaults(array(
|
||||
'choices' => $a,
|
||||
'choices_as_values' => true,
|
||||
'expanded' => true,
|
||||
'multiple' => false,
|
||||
'empty_value' => null
|
||||
|
Reference in New Issue
Block a user