mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
fix person creation validation close #369
This commit is contained in:
@@ -17,11 +17,14 @@ Chill\PersonBundle\Entity\Person:
|
||||
max: 255
|
||||
minMessage: 'This name is too short. It must containt {{ limit }} chars'
|
||||
maxMessage: 'This name is too long. It must containt {{ limit }} chars'
|
||||
groups: [general]
|
||||
groups: [general, creation]
|
||||
dateOfBirth:
|
||||
- Date:
|
||||
message: 'Birthdate not valid'
|
||||
groups: [general, creation]
|
||||
genre:
|
||||
- NotNull:
|
||||
groups: [general, creation]
|
||||
history:
|
||||
- Valid:
|
||||
traverse: true
|
||||
|
Reference in New Issue
Block a user