Skip to content
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

[Validator] detect wrong usages of minMessage/maxMessage in options #54750

Merged
merged 1 commit into from Apr 27, 2024

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Apr 27, 2024

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues
License MIT

@fabpot
Copy link
Member

fabpot commented Apr 27, 2024

Thank you @xabbuh.

@fabpot fabpot merged commit 50faef9 into symfony:6.4 Apr 27, 2024
9 of 10 checks passed
@xabbuh xabbuh deleted the range-constraint branch April 27, 2024 13:09
This was referenced Apr 29, 2024
nicosomb added a commit to nicosomb/PrestaShop that referenced this pull request Apr 30, 2024
Due to symfony/symfony#54750, we had to change the configuration of the form, to avoir this message:
nicosomb added a commit to nicosomb/PrestaShop that referenced this pull request Apr 30, 2024
Due to symfony/symfony#54750, we had to change the configuration of the form, to avoir this message: The Symfony\Component\Validator\Constraints\Range constraint can not use minMessage and maxMessage when the min and max options are both set. Use notInRangeMessage instead.
nicosomb added a commit to nicosomb/PrestaShop that referenced this pull request Apr 30, 2024
Due to symfony/symfony#54750, we had to change the configuration of the form, to avoir this message: The Symfony\Component\Validator\Constraints\Range constraint can not use minMessage and maxMessage when the min and max options are both set. Use notInRangeMessage instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants