Auto-resize iframes, fix custom code, fix create form initial properties
This commit is contained in:
@@ -75,7 +75,7 @@ onMounted(() => {
|
||||
is_pro: false
|
||||
}])
|
||||
|
||||
form.value = initForm()
|
||||
form.value = initForm({}, true)
|
||||
if (route.query.template !== undefined && route.query.template) {
|
||||
const template = templatesStore.getByKey(route.query.template)
|
||||
if (template && template.structure) {
|
||||
|
||||
@@ -92,7 +92,7 @@ onMounted(() => {
|
||||
formStore.loadAll(workspace.value.id)
|
||||
}
|
||||
|
||||
form.value = initForm({workspace_id: workspace.value?.id})
|
||||
form.value = initForm({workspace_id: workspace.value?.id}, true)
|
||||
formInitialHash.value = hash(JSON.stringify(form.value.data()))
|
||||
if (route.query.template !== undefined && route.query.template) {
|
||||
const template = templatesStore.getByKey(route.query.template)
|
||||
|
||||
Reference in New Issue
Block a user