validation icon indicating copy to clipboard operation
validation copied to clipboard

Set message for uploaded_file:max_size

Open sandrodz opened this issue 5 years ago • 1 comments

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' ),
    ]
);

sandrodz avatar May 18 '19 10:05 sandrodz

I'm trying to solve the same issue but this project seems to be abandoned...

ulver2812 avatar Mar 30 '20 10:03 ulver2812