Skip to content

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

Open
@subratastack

Description

@subratastack
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions