Commit 193b6c3a authored by Julien Minet's avatar Julien Minet

fix deprecations: add choices_as_values=true + flip contents of choice in ChoiceType

parent 7f6f41a2
......@@ -28,6 +28,7 @@ class GenderType extends AbstractType {
$resolver->setDefaults(array(
'choices' => $a,
'choices_as_values' => true,
'expanded' => true,
'multiple' => false,
'empty_value' => null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment