formio / ngFormio

JSON powered form rendering library for AngularJS + Form.io.

Home Page:http://formio.github.io/ngFormio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cancel file upload while still uploading error: Cannot set property 'status' of undefined

masmerino13 opened this issue · comments

If click on X icon while the file upload still running (see img below)

image

Error:

Uncaught TypeError: Cannot set property 'status' of undefined
    at XMLHttpRequestUpload.

The error is generated here:
https://github.com/formio/ngFormio/blob/master/src/components/file.js#L259

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!