Skip to content

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

Merged
merged 4 commits into from
May 20, 2012
Merged

Size validator #1362

merged 4 commits into from
May 20, 2012

Conversation

Herzult
Copy link
Contributor

@Herzult Herzult commented May 13, 2012

Changes induced by symfony/symfony#4149

| | - `minMessage`_ |
| | - `maxMessage`_ |
| | - `invalidMessage`_ |
| | - `exactMessage`_ |
+----------------+--------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Size` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing validator ?

Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, sorry !

@vicb
Copy link
Contributor

vicb commented May 18, 2012

@Herzult Don't you think both default values (string / collection) should be indicated for the Size constraint messages ?

weaverryan added a commit that referenced this pull request May 20, 2012
@weaverryan weaverryan merged commit 162dd3d into symfony:master May 20, 2012
weaverryan added a commit that referenced this pull request May 20, 2012
@weaverryan
Copy link
Member

Merged!

Nice feature Antoine :). Thanks for updating the docs. I made some tweaks, if you see any issues, please let me know.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants