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

Cannot read property 'type' of undefined #1370

Closed
vjuras opened this issue Feb 19, 2016 · 2 comments
Closed

Cannot read property 'type' of undefined #1370

vjuras opened this issue Feb 19, 2016 · 2 comments

Comments

@vjuras
Copy link
Contributor

vjuras commented Feb 19, 2016

I am getting this error when html element such as a is dragged over upload area.
This could be common error in page where all content is upload area.

Same error can be reproduced in DEMO page.

ng-upload-error

error stack trace:

TypeError: Cannot read property 'type' of undefined
    at ng-file-upload.js:1363
    at Object.forEach (angular.js:325)
    at validateAsync (ng-file-upload.js:1360)
    at upload.validate (ng-file-upload.js:1397)
    at upload.updateModel (ng-file-upload.js:642)
    at updateModel (ng-file-upload.js:1890)
    at ng-file-upload.js:1847
    at wrappedCallback (angular.js:11572)
    at angular.js:11658
    at Scope.$eval (angular.js:12701)
@danialfarid
Copy link
Owner

#1325 (comment)

@danialfarid
Copy link
Owner

Fixed at 12.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants