jeudi 26 janvier 2017

Ember-plupload disable multiple file upload not working

I am using ember 2.5.0.In my application i am having file upload functionality.Using following api Ember-plupload for file upload. Able to upload a file but i want user to upload only one file, as per documentation setting multiple="false" should disable selecting multiple file options, but it is not disabling instead it is adding the file in a queue. Could anyone faced the similar problem?

Also it would be great if some one share the code snippet for removing file from queue.


<div class="form-group">
    <label>Choose file to import</label> <br/>
    <div class="dropzone" id="upload-image" style="width: 80%; height: 100px; border: 2px dashed gray; padding: 0 20px">
        <p>
      <br/>
      <div class="alert alert-success"></div>
        </p>
    </div>
</div>




Aucun commentaire:

Enregistrer un commentaire