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