mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
fix sf4 deprecated: remove choices_as_values form option
This commit is contained in:
@@ -49,7 +49,6 @@ class CustomFieldsGroupType extends AbstractType
|
||||
->add('name', TranslatableStringFormType::class)
|
||||
->add('entity', ChoiceType::class, array(
|
||||
'choices' => array_combine(array_values($entities),array_keys($entities)),
|
||||
'choices_as_values' => true
|
||||
))
|
||||
;
|
||||
|
||||
|
Reference in New Issue
Block a user