mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
refactor templates controller
This commit is contained in:
1 parent
715c70d422
commit
077eab7005
10 files changed
+75
-60
No files matched your search
@@ -17,6 +17,7 @@ window.customElements.define('submission-form', class extends HTMLElement {
|
||||
attribution: this.dataset.attribution !== 'false',
|
||||
withConfetti: this.dataset.withConfetti !== 'false',
|
||||
withTypedSignature: this.dataset.withTypedSignature !== 'false',
|
||||
authenticityToken: document.querySelector('meta[name="csrf-token"]')?.content,
|
||||
values: reactive(JSON.parse(this.dataset.values)),
|
||||
completedButton: JSON.parse(this.dataset.completedButton),
|
||||
completedRedirectUrl: this.dataset.completedRedirectUrl,
|
||||
|
||||
Reference in new issue
Block a user