How to get a reference to HTML element ? #1126

Open
opened 2019-11-06 05:06:36 +00:00 by alexksg · 1 comment
alexksg commented 2019-11-06 05:06:36 +00:00 (Migrated from github.com)

I've seen an issue dated year ago with a same exact problem with no solution. How to get reference to html ? I do have multiple inputs for different categories

<input ng2FileSelect id="file_{{category['id']}}" name="file_{{category['id']}}" type="file" accept="*.*" [uploader]="documentUpload"/>

Could you also update your documentation ?

I've seen an issue dated year ago with a same exact problem with no solution. How to get reference to html ? I do have multiple inputs for different categories `<input ng2FileSelect id="file_{{category['id']}}" name="file_{{category['id']}}" type="file" accept="*.*" [uploader]="documentUpload"/>` Could you also update your documentation ?
deshack commented 2019-12-01 18:17:35 +00:00 (Migrated from github.com)

Hi @coilnovasince1985,
GitHub issues are reserved to issues with this package, not support with Angular itself.
Anyway, you should use view queries like ViewChild.
Please, refer to the Angular documentation and other resources related to it for further investigation.

Hi @coilnovasince1985, GitHub issues are reserved to issues with this package, not support with Angular itself. Anyway, you should use view queries like [ViewChild](https://angular.io/api/core/ViewChild). Please, refer to the Angular documentation and other resources related to it for further investigation.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#1126