From 49195fffdd8e658b8995ea4c7bae7bf9c2613699 Mon Sep 17 00:00:00 2001 From: JzoNg Date: Wed, 22 Apr 2026 07:51:52 +0800 Subject: [PATCH] Configure multi-file human input fields --- .../__tests__/input-field.spec.tsx | 31 ++++++++++++++++++ .../plugins/hitl-input-block/input-field.tsx | 32 +++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/web/app/components/base/prompt-editor/plugins/hitl-input-block/__tests__/input-field.spec.tsx b/web/app/components/base/prompt-editor/plugins/hitl-input-block/__tests__/input-field.spec.tsx index 39ee0d570c..eaa4755198 100644 --- a/web/app/components/base/prompt-editor/plugins/hitl-input-block/__tests__/input-field.spec.tsx +++ b/web/app/components/base/prompt-editor/plugins/hitl-input-block/__tests__/input-field.spec.tsx @@ -57,6 +57,7 @@ vi.mock('@/app/components/workflow/nodes/_base/components/file-upload-setting', allowed_file_extensions: string[] allowed_file_types: string[] allowed_file_upload_methods: string[] + max_length?: number }) => void }) => ( {isEdit