Hi I'm using ngflow with angularjs to upload files and it is working fine.I got a requirement that there will be two upload buttons in the same form. one upload is only for single file and other one is for multiple files and the files selected from both of them needs to be displayed in same table.
One way to do this would be to create two instances of flow on the same page and then specify the single file option true on one but this way I will have to create two tables to display the files selected.
<div flow-init="{target: '/upload', singleFile: true}">
<span class="btn" flow-btn >
<i class="icon icon-file"></i>Upload Single File</span>
</div>
<div flow-init="{target: '/upload'}">
<span class="btn" flow-btn >
<i class="icon icon-file"></i>Upload Multiple File</span>
</div>
So the issues which I'm having currently are: 1) Show files selected from both single and multiple in same table and if from the singleFile upload . Once one file is uploaded, second file will overtake existing one, first one will be canceled. whereas from multiple file it will append to previous selection. 2) How to send extra parameter in the with single file upload.