prefill signature client side

This commit is contained in:
Pete Matsyburka
2026-04-11 11:50:41 +03:00
parent f8cb7ffdab
commit 11b0b16ca7
5 changed files with 74 additions and 21 deletions
+1
View File
@@ -31,6 +31,7 @@ safeRegisterElement('submission-form', class extends HTMLElement {
isDemo: this.dataset.isDemo === 'true',
attribution: this.dataset.attribution !== 'false',
scrollPadding: this.dataset.scrollPadding || '-80px',
signatureText: this.dataset.signatureText,
language: this.dataset.language,
dryRun: this.dataset.dryRun === 'true',
expand: ['true', 'false'].includes(this.dataset.expand) ? this.dataset.expand === 'true' : null,