Custom validation messages for all models #17151
Unanswered
hcancelik
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to customize validation messages on a global level?
Currently, the validation errors display in this format:
Validation notEmpty on name failed
, and I understand we can update the message through the model definition, but there are more than 100+ models in our codebase. Is there a way to do this in a global level?Thanks in advance.
PS. Using v6.
Beta Was this translation helpful? Give feedback.
All reactions