-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Size validator #1362
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
Size validator #1362
Conversation
| | - `minMessage`_ | | ||
| | - `maxMessage`_ | | ||
| | - `invalidMessage`_ | | ||
| | - `exactMessage`_ | | ||
+----------------+--------------------------------------------------------------------+ | ||
| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Size` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing validator ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's just not displayed here because it was not modified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, sorry !
@Herzult Don't you think both default values (string / collection) should be indicated for the Size constraint messages ? |
Merged! Nice feature Antoine :). Thanks for updating the docs. I made some tweaks, if you see any issues, please let me know. Thanks! |
Changes induced by symfony/symfony#4149