fix: ensure mandatory services are selected
This commit is contained in:
@@ -153,8 +153,9 @@ class ParticipantFieldOptionsProvider extends AbstractFieldOptionsProvider
|
|||||||
|
|
||||||
$attributes = [];
|
$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) {
|
if (true === $service->mandatory) {
|
||||||
|
$attributes['checked'] = true;
|
||||||
$attributes['readonly'] = true;
|
$attributes['readonly'] = true;
|
||||||
$attributes['class'] = 'text-pink';
|
$attributes['class'] = 'text-pink';
|
||||||
$attributes['data-tooltip'] = 'Diese Leistung ist nicht abwählbar';
|
$attributes['data-tooltip'] = 'Diese Leistung ist nicht abwählbar';
|
||||||
|
|||||||
Reference in New Issue
Block a user