From 0f5aca672627f74ffef58f6300481214072ae950 Mon Sep 17 00:00:00 2001 From: Johnpaul Chiwetelu <49923152+Myestery@users.noreply.github.com> Date: Thu, 12 Feb 2026 02:00:28 +0100 Subject: [PATCH] fix: set audio widget value after file upload (#8814) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Set `audioWidget.value` after uploading an audio file so the combo dropdown reflects the newly uploaded file. ## Changes - **What**: Added `audioWidget.value = path` in the `uploadFile` function before the callback call, matching the pattern used by the image upload widget. ## Review Focus One-line fix. The image upload widget already does this correctly in `useImageUploadWidget.ts:86`. Without this line, the file uploads but the dropdown doesn't update to show the selection. Fixes #8800 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8814-fix-set-audio-widget-value-after-file-upload-3056d73d365081a0af90d4e096eb4975) by [Unito](https://www.unito.io) --- src/extensions/core/uploadAudio.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/extensions/core/uploadAudio.ts b/src/extensions/core/uploadAudio.ts index 86ecd9c4ae..8e1e673ad7 100644 --- a/src/extensions/core/uploadAudio.ts +++ b/src/extensions/core/uploadAudio.ts @@ -71,6 +71,7 @@ async function uploadFile( api.apiURL(getResourceURL(...splitFilePath(path))) ) + audioWidget.value = path // Manually trigger the callback to update VueNodes audioWidget.callback?.(path) }