diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/StaticInputEditor.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/StaticInputEditor.svelte index da0f6fbf88..078dbeb06c 100644 --- a/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/StaticInputEditor.svelte +++ b/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/StaticInputEditor.svelte @@ -200,11 +200,13 @@ bind:this={s3FilePicker} readOnlyMode={false} on:close={(e) => { - if (componentInput?.value?.s3) { + if (e.detail) { + if (componentInput) { + componentInput.value = e.detail + } s3FileUploadRawMode = true } }} - bind:selectedFileKey={componentInput.value} /> {:else if format?.startsWith('resource-') && (componentInput.value == undefined || typeof componentInput.value == 'string')}