fix: make selection of transportation services mandatory
This commit is contained in:
@@ -40,8 +40,13 @@ class ParticipantData
|
|||||||
public array $skiPass = [];
|
public array $skiPass = [];
|
||||||
public array $board = [];
|
public array $board = [];
|
||||||
public array $rentals = [];
|
public array $rentals = [];
|
||||||
|
|
||||||
|
#[Assert\NotNull(message: 'Bitte angeben')]
|
||||||
public ?Service $transportationServiceTo = null;
|
public ?Service $transportationServiceTo = null;
|
||||||
|
|
||||||
|
#[Assert\NotNull(message: 'Bitte angeben')]
|
||||||
public ?Service $transportationServiceFro = null;
|
public ?Service $transportationServiceFro = null;
|
||||||
|
|
||||||
public ?Pickup $pickup = null;
|
public ?Pickup $pickup = null;
|
||||||
|
|
||||||
#[Assert\Callback]
|
#[Assert\Callback]
|
||||||
|
|||||||
Reference in New Issue
Block a user