i want to upload file , this is my controller :
$uploadFile = $request->file("document");
dd($request->file("document"));
$path = $uploadFile->store('storage/files');
this is my form action :
<form class="form-horizontal" action="{{route('mto-post')}}" method="post" enctype="multipart/form-data" files="true">
    {{ csrf_field() }}
..........................................
<td class="pt-3-half">
    <div class="form-group">
        <label for="document">Document</label><br>
        <input type="file" name="document">
        <small class="form-text text-muted">Harap Masukan Featured Image Yang Ingin Digunakan.</small>
    </div>
but , when i dd($request->file("document"));
is always return NULL
this is results $request->input()
   array:13 [▼
  "_token" => "P3jR5AzMe4jPPeEud24Tdue0LPOc1zFcgR5viEcW"
  "txtWorkOrder" => "23iy4837t5"
  "txtDocNumber" => "34iwugru3j4gr4u"
  "txtLocation" => "8327y8"
  "tanggal" => "2019-04-08"
  "txtItemCode" => array:3 [▶]
  "txtDescription" => array:3 [▶]
  "txtSpek" => array:3 [▶]
  "txtUnits" => array:3 [▶]
  "Cat" => array:3 [▶]
  "txtRequiredQty" => array:3 [▶]
  "txtSpareQty" => array:3 [▶]
  "action" => "draft"
]
whats wrong about my code ? any help will be appreciated. Thanks
