From 6b0a4dc10d15bb1b1f952cc69ff0cf5fd1eeb282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 21 May 2025 14:25:34 +0200 Subject: [PATCH] feat: participant's email address mandatory (again) closes #86991wmpc --- src/Form/Model/ParticipantData.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Form/Model/ParticipantData.php b/src/Form/Model/ParticipantData.php index 2e3fb0e..2334f30 100644 --- a/src/Form/Model/ParticipantData.php +++ b/src/Form/Model/ParticipantData.php @@ -32,6 +32,7 @@ class ParticipantData #[Assert\NotNull(message: 'Bitte angeben')] public ?\DateTimeImmutable $dateOfBirth = null; + #[Assert\NotBlank(message: 'Bitte angeben')] #[Assert\Email(message: 'Bitte eine gültige E-Mail Adresse angeben', mode: 'strict')] public ?string $email = null;