fix: ensure mandatory services are selected

This commit is contained in:
Björn Fromme
2026-03-16 11:59:10 +01:00
parent e6eebc00a3
commit ca1d5c4303
@@ -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';