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

input type file giving error in firefox, after selecting file #304

Closed
tariq-mahmood-dev opened this issue Mar 21, 2017 · 2 comments
Closed

Comments

@tariq-mahmood-dev
Copy link

EXCEPTION: Error in ./DynamicFormBootstrapComponent class DynamicFormBootstrapComponent - inline template:91:16 caused by: $event.srcElement is undefined
vendor.bundle.js (line 59916)
ORIGINAL EXCEPTION: $event.srcElement is undefined
vendor.bundle.js (line 59918)
ORIGINAL STACKTRACE:
vendor.bundle.js (line 59921)
DynamicFormControlComponent.prototype.onValueChange@http://localhost:4200/vendor.bundle.js:98436:21
anonymous/View_DynamicFormBootstrapComponent13.prototype.handleEvent_4@/DynamicFormsBootstrapUIModule/DynamicFormBootstrapComponent/component.ngfactory.js:1367:21
DebugAppView.prototype.eventHandler/<@http://localhost:4200/vendor.bundle.js:93247:24
decoratePreventDefault/<@http://localhost:4200/vendor.bundle.js:46582:53
ZoneDelegate.prototype.invokeTask@http://localhost:4200/polyfills.bundle.js:6440:17
NgZone.prototype.forkInnerZoneWithAngularBehavior/this.inner<.onInvokeTask@http://localhost:4200/vendor.bundle.js:31103:28
ZoneDelegate.prototype.invokeTask@http://localhost:4200/polyfills.bundle.js:6439:17
Zone.prototype.runTask@http://localhost:4200/polyfills.bundle.js:6239:28
ZoneTask/this.invoke@http://localhost:4200/polyfills.bundle.js:6493:28
vendor.bundle.js (line 59922)
ERROR CONTEXT:
vendor.bundle.js (line 59925)
[object Object]
vendor.bundle.js (line 59926)
Error: Error in ./DynamicFormBootstrapComponent class DynamicFormBootstrapComponent - inline template:91:16 caused by: $event.srcElement is undefined

@udos86
Copy link
Owner

udos86 commented Mar 25, 2017

@tariq-mahmood-nxb

Thanks for reporting this. Could likely be a bug. I'll examine this.

@udos86
Copy link
Owner

udos86 commented Apr 29, 2017

@tariq-mahmood-nxb There'll be a bugfix for this in 1.4.7

@udos86 udos86 closed this as completed in 0976bd1 Apr 29, 2017
udos86 added a commit that referenced this issue Apr 29, 2017
file input bug fixed (closes #304) and NoImplicitAny TS errors fixed …
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