S
S
sawa42017-04-03 15:09:20
Laravel
sawa4, 2017-04-03 15:09:20

Why does Laravel's validator->messages() start returning lower case errors?

Good time!
Has anyone encountered such a problem that the $validator->messages() method started returning an error in lower case? Or rather, the name of the fields in lowercase, so it is also merged if the field consists of several words.
For example: the field "Problem Description" error returns the following. way "The problem description field is mandatory" At the same time, the Validator
class is not overridden anywhere. Laravel version 5.2.45 Any ideas? Is this a bug or a feature?
7a1c9c2dea2246039b3598cb20d58981.png
afbcc186e1e94c57a8c689d839c27b96.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question