So you'll have to use either of the following:
$this->validate($request, [...])
you can use the custom error messages
attributes()
function to help youActually I'm using Laravel Nova and It's not provide a method to define custom error messages or custom attributes. So I have try to find another way.
Looks like is Nova's issue.
By the way,I think the good way to resolve this issue is handle it in Lang files.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community