mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
rename template
This commit is contained in:
1 parent
9678cd1286
commit
ca009252ac
8 files changed
+159
-34
No files matched your search
@@ -13,6 +13,7 @@ export default class extends HTMLElement {
|
||||
if (e.detail.formSubmission?.formElement?.method === 'get') return
|
||||
if (this.dataset.closeAfterSubmit === 'false') return
|
||||
if (e.detail.formSubmission?.formElement?.dataset?.closeOnSubmit === 'false') return
|
||||
if (e.detail.formSubmission?.formElement?.closest('native-event[data-on="submit"]')) return
|
||||
|
||||
window.webkit?.messageHandlers?.modal?.postMessage({ action: 'submitted' })
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user