From d6f1aa53dc338d6ace2cdb55eac5f496c7153fe4 Mon Sep 17 00:00:00 2001 From: nobohan Date: Wed, 25 May 2022 10:34:24 +0200 Subject: [PATCH] [admin]: add select2 to Goal form type entity fields --- src/Bundle/ChillPersonBundle/Form/SocialWork/GoalType.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Bundle/ChillPersonBundle/Form/SocialWork/GoalType.php b/src/Bundle/ChillPersonBundle/Form/SocialWork/GoalType.php index 45a43897d..5fc77b410 100644 --- a/src/Bundle/ChillPersonBundle/Form/SocialWork/GoalType.php +++ b/src/Bundle/ChillPersonBundle/Form/SocialWork/GoalType.php @@ -51,6 +51,7 @@ class GoalType extends AbstractType 'choice_label' => function (SocialAction $issue) { return $this->translatableStringHelper->localize($issue->getTitle()); }, + 'attr' => ['class' => 'select2 '], ]) ->add('results', EntityType::class, [ @@ -60,6 +61,7 @@ class GoalType extends AbstractType 'choice_label' => function (Result $r) { return $this->translatableStringHelper->localize($r->getTitle()); }, + 'attr' => ['class' => 'select2 '], ]) ->add('desactivationDate', ChillDateType::class, [