mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
fix error: no need to flip choices for formatter type.
This commit is contained in:
parent
bba720b3ae
commit
e6a1dcd7a4
@ -54,7 +54,7 @@ class PickFormatterType extends AbstractType
|
|||||||
}
|
}
|
||||||
|
|
||||||
$builder->add('alias', ChoiceType::class, array(
|
$builder->add('alias', ChoiceType::class, array(
|
||||||
'choices' => array_combine(array_values($choices),array_keys($choices)),
|
'choices' => $choices,
|
||||||
'choices_as_values' => true,
|
'choices_as_values' => true,
|
||||||
'multiple' => false
|
'multiple' => false
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user