From ead2c092daa6729e112f8e15df480fe4d6b44a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 15 Oct 2025 11:40:51 +0200 Subject: [PATCH] fix: ensure skipass is selected --- src/Form/Model/ParticipantDto.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Form/Model/ParticipantDto.php b/src/Form/Model/ParticipantDto.php index eb42fc7..09d7dd1 100644 --- a/src/Form/Model/ParticipantDto.php +++ b/src/Form/Model/ParticipantDto.php @@ -74,7 +74,10 @@ class ParticipantDto public array $courses = []; public array $additionalServices = []; + + #[Assert\NotNull(message: 'Bitte auswählen', groups: ['booking_edit', 'booking_create_step_2'])] public ?Service $skiPass = null; + public array $board = []; public array $rentals = []; public ?Service $rentalInsurance = null;