From c0e20a15fe44223792323970216251588c9e0b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 30 Sep 2025 16:08:02 +0200 Subject: [PATCH] fix: ensure mandatory services are selected --- src/Form/Service/ParticipantFieldOptionsProvider.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Form/Service/ParticipantFieldOptionsProvider.php b/src/Form/Service/ParticipantFieldOptionsProvider.php index e62376e..8add401 100644 --- a/src/Form/Service/ParticipantFieldOptionsProvider.php +++ b/src/Form/Service/ParticipantFieldOptionsProvider.php @@ -153,8 +153,9 @@ class ParticipantFieldOptionsProvider extends AbstractFieldOptionsProvider $attributes = []; - // Make readonly for mandatory services (pre-selection handled by service layer) + // Make readonly and checked for mandatory services (pre-selection handled by service layer) if (true === $service->mandatory) { + $attributes['checked'] = true; $attributes['readonly'] = true; $attributes['class'] = 'text-pink'; $attributes['data-tooltip'] = 'Diese Leistung ist nicht abwählbar';