validation
validation copied to clipboard
Set message for uploaded_file:max_size
How do I set message for the field with following constraints: required|uploaded_file:0,500K,jpeg
I'd expect something like this:
$this->validator->setMessages(
[
'uploaded_file:max_size' => __( 'The :attribute file is too large, maximum size is :max_size', 'webpage' ),
]
);
I'm trying to solve the same issue but this project seems to be abandoned...