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

Signature: An exception is raised when the storeDataAsText property is disabled #348

Closed
JaneSjs opened this issue Nov 7, 2024 · 0 comments · Fixed by #350
Closed

Signature: An exception is raised when the storeDataAsText property is disabled #348

JaneSjs opened this issue Nov 7, 2024 · 0 comments · Fixed by #350
Assignees
Labels
bug user issue An issue or bug reported by users.

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Nov 7, 2024

T20592 - Signature Pad - Cannot read properties of undefined (reading 'getContext')
https://surveyjs.answerdesk.io/internal/ticket/details/T20592


View Demo
The following exception is raised on an attempt to generate a PDF document.

Uncaught TypeError: Cannot read properties of undefined (reading 'getContext')
    at img.onload (survey.core.js:65280:36)Understand this errorAI
@JaneSjs JaneSjs added bug user issue An issue or bug reported by users. labels Nov 7, 2024
dk981234 added a commit to surveyjs/survey-library that referenced this issue Nov 11, 2024
…orks incorrectly when question is not visible
@dk981234 dk981234 linked a pull request Nov 11, 2024 that will close this issue
dk981234 added a commit to surveyjs/survey-library that referenced this issue Nov 12, 2024
…not rendered (#9030)

* Work for surveyjs/survey-pdf#348: fix signaturepad's fromUrl method works incorrectly when question is not visible

* Fix code scanning alert no. 123: Inefficient regular expression

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Fix regex

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@RomanTsukanov RomanTsukanov changed the title Signature Pad - The "Cannot read properties of undefined (reading 'getContext')" exception is raised when the storeDataAsText option is disabled Signature: An exception is raised when the storeDataAsText property is disabled Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants