In my project I m trying to upload image using livewire and its working fine…
But Now I want add doc,pdf and image(all type image) upload support .
can anyone tell me what type of validation I have to put.
This is my code
$validatedData = $this->validate([
'product_name' => 'required',
'images.*' => 'image|max:1024',
]);