We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
http://localhost:4200/undefined
1 parent 27b94d7 commit 5e601b7Copy full SHA for 5e601b7
src/signature_pad.js
@@ -63,7 +63,9 @@ function init(Survey) {
63
canvas.width = question.width;
64
canvas.height = question.height;
65
resizeCanvas(canvas);
66
- signaturePad.fromDataURL(question.value);
+ signaturePad.fromDataURL(
67
+ question.value || "data:image/gif;base64,R0lGODlhAQABAIAAAP"
68
+ );
69
};
70
question.valueChangedCallback = updateValueHandler;
71
updateValueHandler();
0 commit comments