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.
1 parent 54acbd8 commit 47bdf13Copy full SHA for 47bdf13
src/signature_pad.js
@@ -69,7 +69,7 @@ function init(Survey) {
69
question.valueChangedCallback = updateValueHandler;
70
updateValueHandler();
71
question.signaturePad = signaturePad;
72
- if (question.allowClear) {
+ if (question.allowClear && !question.isReadOnly) {
73
el.getElementsByTagName("button")[0].onclick = function() {
74
signaturePad.clear();
75
};
0 commit comments