From 0b50cbfe4c910355ab684d4a37bb9701a9b03b20 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 10 Jan 2024 13:09:10 +0100 Subject: [PATCH] adjust form for activity type presence field, setting placeholder to false --- src/Bundle/ChillActivityBundle/Form/ActivityType.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bundle/ChillActivityBundle/Form/ActivityType.php b/src/Bundle/ChillActivityBundle/Form/ActivityType.php index 4e3b1eb8a..d322089c8 100644 --- a/src/Bundle/ChillActivityBundle/Form/ActivityType.php +++ b/src/Bundle/ChillActivityBundle/Form/ActivityType.php @@ -183,6 +183,7 @@ class ActivityType extends AbstractType $builder->add('attendee', EntityType::class, [ 'label' => $activityType->getLabel('attendee'), 'required' => $activityType->isRequired('attendee'), + 'placeholder' => false, 'expanded' => true, 'class' => ActivityPresence::class, 'choice_label' => fn (ActivityPresence $activityPresence) => $this->translatableStringHelper->localize($activityPresence->getName()),