fix: improve nested schema editor field change
This commit is contained in:
@@ -349,6 +349,7 @@
|
||||
{isAppInput}
|
||||
on:change={() => {
|
||||
schema = schema
|
||||
// console.log('schema', schema)
|
||||
dispatch('change', schema)
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -72,6 +72,7 @@
|
||||
{schema}
|
||||
{previousModuleId}
|
||||
argExtra={{ seconds: true }}
|
||||
bind:editor
|
||||
/>
|
||||
</PropPickerWrapper>
|
||||
</div>
|
||||
|
||||
@@ -200,6 +200,7 @@
|
||||
argName="groups"
|
||||
{schema}
|
||||
{previousModuleId}
|
||||
bind:editor
|
||||
/>
|
||||
</PropPickerWrapper>
|
||||
</div>
|
||||
|
||||
@@ -87,7 +87,9 @@
|
||||
let mounted = false
|
||||
let firstOnContentChange = true
|
||||
onMount(() => {
|
||||
mounted = true
|
||||
setTimeout(() => {
|
||||
mounted = true
|
||||
}, 500)
|
||||
})
|
||||
|
||||
$: extra && mounted && onContentChange()
|
||||
|
||||
Reference in New Issue
Block a user