diff --git a/ui/desktop/src/components/Input.tsx b/ui/desktop/src/components/Input.tsx index 205fe341..bce25323 100644 --- a/ui/desktop/src/components/Input.tsx +++ b/ui/desktop/src/components/Input.tsx @@ -144,7 +144,11 @@ export default function Input({ const handleFileSelect = async () => { const path = await window.electron.selectFileOrDirectory(); if (path) { - setValue(path); + // Append the path to existing text, with a space if there's existing text + setValue((prev) => { + const currentText = prev.trim(); + return currentText ? `${currentText} ${path}` : path; + }); textAreaRef.current?.focus(); } };