bergben / ng2-file-input

Angular 2 component that implements a drag and drop or select file selection, including preview.
MIT License
25 stars 11 forks source link

Angular 2 project with angular-cli -Browse button not firing #10

Closed casper5822 closed 7 years ago

casper5822 commented 7 years ago

Hello, i'm trying to use ng2-file-input in my angular 2 project. I have problems with the "Browse" button, when i click it, no file selector widow is shown. The "Drop" functionality works fine.

In the Chrome console i see this error: dist/FileAPI.flash.swf?r=2.0.21 404 not Found.

I read your solution setting the "paths" in tsconfig.json, i do it, but it doesn't work.

--Update: I understand that it's a angular 2 problem, so it is not related to ng2-file-input.

Thanks