0
<input file-model="ad.File"
                 type="file"
                 class="form-control"
                 ng-required="true"
                 name="file"
                 ng-show="ad.Type"/>

My project stuck on multiple file upload with angularjs one file upload working fine but i can't upload multiple files. Searched well but can't find solution.

2
  • What is the exact problem? Commented Feb 18, 2017 at 11:06
  • when i try to select files only i select one file Commented Feb 18, 2017 at 11:08

1 Answer 1

1

You are missing multiple attribute on your file input. It should be:

<input file-model="ad.File"
             type="file"
             class="form-control"
             ng-required="true"
             name="file"
             ng-show="ad.Type"
             multiple/>
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.