mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
[admin]: add select2 to Goal form type entity fields
This commit is contained in:
@@ -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, [
|
||||
|
Reference in New Issue
Block a user