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

ERROR TypeError: Cannot read property 'toDataURL' of undefined #4

Open
subratastack opened this issue Mar 29, 2018 · 1 comment
Open

Comments

@subratastack
Copy link

ERROR TypeError: Cannot read property 'toDataURL' of undefined
    at SignaturePadComponent.onSaveClick (signature-pad.component.js:67)
    at Object.eval [as handleEvent] (SignaturePadComponent.html:9)
    at handleEvent (core.js:13532)
    at callWithDebugContext (core.js:15041)
    at Object.debugHandleEvent [as handleEvent] (core.js:14628)
    at dispatchEvent (core.js:9944)
    at eval (core.js:10569)
    at HTMLButtonElement.eval (platform-browser.js:2628)
    at ZoneDelegate.invokeTask (zone.js:421)
    at Object.onInvokeTask (core.js:4724)

I'm getting this error when I click on Save, and also if I scribble on the canvas nothing happens.

@pedrofg
Copy link

pedrofg commented Apr 27, 2018

Same here when deploying on production env. @subratawebops are you using AOT?

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

No branches or pull requests

2 participants