Required Validation On Multiple File Upload Input Issue
Hi,
I am adding mime types to my multiple file upload input, but its making the field required when i have not set this option. I dont want this field to be required. Also i am not able to upload xls file even tho ive specified it below.
I imagine that XLS isn't the actual mime type. To test upload an XLS file without validation and dump the request, Laravel should tell you what the mime type is then.
@if($errors->any())
@foreach($errors->getMessages() as $this_error)
<p style="color: red;">{{$this_error[0]}}</p>
@endforeach@endif
really im thinking of having a single file upload, but being able to add more dynamically using javascript and then i wonder if i can validate the dynamic single file uploads.