Validation values metod in validation file #42007
Unanswered
LocalHeroPro
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Add ability to use https://laravel.com/docs/9.x/validation#specifying-values-in-language-files translated values on validation file against translation file.
Explanation: we can have on few models same column names, example type. So if we translate one values, the same translation will be used on all another ones.
Resolution: use values method in same way as messages or attributes methods in request file.
Beta Was this translation helpful? Give feedback.
All reactions