angular-upload
angular-upload copied to clipboard
Upload of multipart file
Hi @leon ,
When uploading any file other than a text file, the upload window gets stuck. Please find the code below
<div class="btn btn-primary btn-upload"
style="width: 120px; z-index: auto;" upload-button
url="/properties/upload"
required="true"
accept="text/plain multipart"
on-success="uploadSuccess1(response)">Upload File</div>
I have to upload only text files, is there a way to limit the upload functionality to that alone. Also it should give a proper message if its an incorrect format.