mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-18 08:14:24 +00:00
Adding validation for the event
This commit is contained in:
parent
ccb4d6cfb5
commit
69465c387d
@ -1,3 +1,17 @@
|
||||
Chill\EventBundle\Entity\Event:
|
||||
properties:
|
||||
label:
|
||||
- Length:
|
||||
min: 3
|
||||
max: 75
|
||||
minMessage: The event name must have at least {{ limit }} characters.
|
||||
maxMessage: The event name must have maximum {{ limit }} characters.
|
||||
type:
|
||||
- NotNull: ~
|
||||
circle:
|
||||
- NotNull: ~
|
||||
center:
|
||||
- NotNull: ~
|
||||
Chill\EventBundle\Event\Participation:
|
||||
properties:
|
||||
event:
|
||||
|
Loading…
x
Reference in New Issue
Block a user