Remove ID from field name when reporting validation errors #51548
Unanswered
johnngondi
asked this question in
Ideas
Replies: 1 comment 2 replies
-
Hi. I would not want this change in the core. What if the field is named just id? |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Hello @taylorotwell, I am John, thank you for Laravel Framework, we appreciate the work being done.
Everytime I validate a field where I am selecting something, say am selecting Facility Space, and I submit without selecting an item, the error message reported is like
Facility space id field is required
, is it possible to just sayFacility Space field is required
or justFacility space is required
See below
can be
I know I can do adjustments by publishing the language files. But I feel it can be that way by default.
This is just a thought. No pressure, whatever is there is working good too.
Beta Was this translation helpful? Give feedback.
All reactions