fix: improve nested schema editor field change

This commit is contained in:
Ruben Fiszel
2024-11-07 20:51:24 +01:00
parent c686cc437d
commit bb615a084a
4 changed files with 6 additions and 1 deletions

View File

@@ -349,6 +349,7 @@
{isAppInput}
on:change={() => {
schema = schema
// console.log('schema', schema)
dispatch('change', schema)
}}
>

View File

@@ -72,6 +72,7 @@
{schema}
{previousModuleId}
argExtra={{ seconds: true }}
bind:editor
/>
</PropPickerWrapper>
</div>

View File

@@ -200,6 +200,7 @@
argName="groups"
{schema}
{previousModuleId}
bind:editor
/>
</PropPickerWrapper>
</div>

View File

@@ -87,7 +87,9 @@
let mounted = false
let firstOnContentChange = true
onMount(() => {
mounted = true
setTimeout(() => {
mounted = true
}, 500)
})
$: extra && mounted && onContentChange()