add autosave config

This commit is contained in:
Pete Matsyburka committed 2026-10-22 17:17:47 +03:00
1 parent 78edd87cc1
commit 151890bb72
6 files changed
+54 -4

No files matched your search

+1
View File
@@ -228,6 +228,7 @@ safeRegisterElement('template-builder', class extends HTMLElement {
template,
customFields: reactive(JSON.parse(this.dataset.customFields || '[]')),
dateFormats: JSON.parse(this.dataset.dateFormats || '[]'),
autosave: this.dataset.autosave !== 'false',
dynamicDocuments: reactive(JSON.parse(this.dataset.dynamicDocuments || '[]')),
backgroundColor: '#faf7f5',
locale: this.dataset.locale,