FEATURE: [export][form] use select2 for more user friendly form field

This commit is contained in:
Julie Lenaerts 2022-12-13 10:07:00 +01:00
parent 38ff46f03f
commit ff930e94f6

View File

@ -77,6 +77,7 @@ class ActivityReasonFilter implements ExportElementValidatedInterface, FilterInt
'class' => ActivityReason::class,
'choice_label' => fn (ActivityReason $reason) => $this->translatableStringHelper->localize($reason->getName()),
'group_by' => fn (ActivityReason $reason) => $this->translatableStringHelper->localize($reason->getCategory()->getName()),
'attr' => ['class' => 'select2 '],
'multiple' => true,
'expanded' => false,
]);