mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 13:33:48 +00:00
fix errors in editing custom field group
This commit is contained in:
@@ -25,7 +25,6 @@ use Symfony\Component\Form\FormEvent;
|
||||
use Symfony\Component\Form\FormEvents;
|
||||
use Chill\MainBundle\Templating\TranslatableStringHelper;
|
||||
use Symfony\Component\Form\FormInterface;
|
||||
use Symfony\Component\Form\Extension\Core\ChoiceList\SimpleChoiceList;
|
||||
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
||||
|
||||
/**
|
||||
@@ -109,7 +108,7 @@ class LinkedCustomFieldsType extends AbstractType
|
||||
}
|
||||
|
||||
$options = array_merge($this->options, array(
|
||||
'choice_list' => new SimpleChoiceList($choices),
|
||||
'choices' => $choices,
|
||||
'choices_as_values' => true
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user