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;