Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending parameters from UI #539

Closed
clubbavi opened this issue Oct 28, 2015 · 3 comments
Closed

Sending parameters from UI #539

clubbavi opened this issue Oct 28, 2015 · 3 comments

Comments

@clubbavi
Copy link

Hello,

I am uploading multiple files. How can I send extra parameters from the UI dynamically as I would not be knowing which values are there?
Example:

<label class="btn btn-default" ng-repeat="docType in types">
    <input type="radio" ng-model="$parent.selectedType" name="name" value="{{docType.type}}" 
          required />{{docType.type}}
</label>
<button type="button" class="btn btn-success btn-s" ng-click="uploader.uploadAll()" 
      ng-disabled="!uploader.getNotUploadedItems().length">

Can we send selectedType parameter in ng-click along with uploader.uploadAll ?
& can we get all the uploaded items in a single array?

Thanks

@Webbrother
Copy link

+1

1 similar comment
@ganeshghalame
Copy link

+1

@nervgh nervgh closed this as completed Jul 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants