diff --git a/Form/Type/GenderType.php b/Form/Type/GenderType.php index 3f996f0cb..674de880d 100644 --- a/Form/Type/GenderType.php +++ b/Form/Type/GenderType.php @@ -28,6 +28,7 @@ class GenderType extends AbstractType { $resolver->setDefaults(array( 'choices' => $a, + 'choices_as_values' => true, 'expanded' => true, 'multiple' => false, 'empty_value' => null