fix sf4 deprecated: remove choices_as_values form option

This commit is contained in:
2020-07-22 17:05:24 +02:00
parent b2b637b4db
commit 5f8037433d
4 changed files with 0 additions and 5 deletions

View File

@@ -148,7 +148,6 @@ class ActivityReasonAggregator implements AggregatorInterface,
'By reason' => 'reasons',
'By category of reason' => 'categories'
),
'choices_as_values' => true,
'multiple' => false,
'expanded' => true,
'label' => 'Reason\'s level'

View File

@@ -99,7 +99,6 @@ class ListActivity implements ListInterface
'multiple' => true,
'expanded' => true,
'choices' => array_combine($this->fields, $this->fields),
'choices_as_values' => true,
'label' => 'Fields to include in export',
'constraints' => [new Callback(array(
'callback' => function($selected, ExecutionContextInterface $context) {