angular-upload icon indicating copy to clipboard operation
angular-upload copied to clipboard

Upload of multipart file

Open nishahameed opened this issue 11 years ago • 0 comments

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.

nishahameed avatar Apr 14 '15 14:04 nishahameed