-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to change length constraints validation of message #650
Comments
Hi, I was facing the same problem and i resolved it by using Form Extension : https://symfony.com/doc/3.4/form/create_form_type_extension.html src/AppBundle/Form/Extension/CommentTypeExtension.php
app/config/services.yml
src/AppBundle/Resources/config/validation.yml
|
hello aless673,
Note: I Use Symfony 4.2 Thanks |
Hi, it seems that your validator.yaml is in the wrong directory for Symfony 4.2 Try to put it in :
|
Hey !
Have you planned the possibiliy to override the min length of the body by adding a group or something ? My users are annoyed 'cause they can't comment with :) !
Thanks !
The text was updated successfully, but these errors were encountered: