Input > WorkflowBlockInputArea for filename in FileDownloadNode (#3564)

This commit is contained in:
Jonathan Dobson
2025-09-30 15:17:45 -04:00
committed by GitHub
parent f1cea0a179
commit 8c85e2fdc6

View File

@@ -313,7 +313,7 @@ function FileDownloadNode({ id, data }: NodeProps<FileDownloadNode>) {
</div> </div>
</div> </div>
<Separator /> <Separator />
<div className="flex items-center justify-between"> <div className="space-y-2">
<div className="flex gap-2"> <div className="flex gap-2">
<Label className="text-xs font-normal text-slate-300"> <Label className="text-xs font-normal text-slate-300">
File Name File Name
@@ -322,14 +322,14 @@ function FileDownloadNode({ id, data }: NodeProps<FileDownloadNode>) {
content={helpTooltips["download"]["fileSuffix"]} content={helpTooltips["download"]["fileSuffix"]}
/> />
</div> </div>
<Input <WorkflowBlockInputTextarea
type="text" nodeId={id}
placeholder={placeholders["download"]["downloadSuffix"]} onChange={(value) => {
className="nopan w-52 text-xs" handleChange("downloadSuffix", value);
value={inputs.downloadSuffix ?? ""}
onChange={(event) => {
handleChange("downloadSuffix", event.target.value);
}} }}
value={inputs.downloadSuffix ?? ""}
placeholder={placeholders["download"]["downloadSuffix"]}
className="nopan text-xs"
/> />
</div> </div>
<Separator /> <Separator />