fix(frontend): Fix inputValue connection to ensure done event is always sent (#1607)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { isCodeInjection } from '$lib/components/flows/utils'
|
||||
import { createEventDispatcher, getContext, onDestroy } from 'svelte'
|
||||
import { createEventDispatcher, getContext, onDestroy, tick } from 'svelte'
|
||||
import type { AppInput, EvalAppInput, UploadAppInput } from '../../inputType'
|
||||
import type { AppViewerContext, RichConfiguration } from '../../types'
|
||||
import { accessPropertyByPath } from '../../utils'
|
||||
@@ -107,6 +107,8 @@
|
||||
} else {
|
||||
value = undefined
|
||||
}
|
||||
|
||||
await tick()
|
||||
dispatch('done')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user