ng2-file-input icon indicating copy to clipboard operation
ng2-file-input copied to clipboard

add method in ng2FileInputService, on component init

Open HonzoBonzo opened this issue 6 years ago • 0 comments

Error when trying to add file through service in OnInit hook

ERROR TypeError: Cannot read property 'currentFiles' of undefined at eval (file-input-handler.service.js:33) at Array.forEach () at FileInputHandlerService.addFiles (file-input-handler.service.js:32) at Ng2FileInputService.add (ng2-file-input.service.js:14) ...

HonzoBonzo avatar Jun 22 '18 08:06 HonzoBonzo