<form class="row g-3 auto-width task_attachments" action="{{ route('task-attachments.update', $data->id)}}" method="post" enctype='multipart/form-data'>
    @csrf
    @method('PUT')
     {{-- uploads --}}
     <div class="col-md-12">
        <label class="form-label" for="uploaded_file">Upload </label>
        <input type="file" class="form-control" id="uploaded_file" name="uploaded_file" aria-describedby="inputGroupPrepend" required placeholder="Enter upload">
        <span class="text-danger error_upload" style="display:none;">This field is required.</span>
    </div>
    <input type="hidden" name="task_id">
</form>
