Level 75
You can get some ideas from this post https://laracasts.com/discuss/channels/laravel/laravel-validation-required-with-not-working-as-expected
I have a form with multi upload. Validation is stored in CustomRequest object. Request has this rule for uploaded files:
// rules
$rules['images.*'] = 'required|image';
...
// messages
'images.*.image' => 'forms.createBook.image_image',
The problem is the error is not asigned to images input. I am able to see it in $errors->all() but cant get it via @error('images'){{$message}}@enderror
What is the problem with rule 'images.*.image'?
Please or to participate in this conversation.