From 5f0b52c017076ac2f50b43fff272577cae5c4089 Mon Sep 17 00:00:00 2001 From: KVOJJJin Date: Tue, 19 Aug 2025 14:26:09 +0800 Subject: [PATCH] Fix number input in tool configure form of agent node tool item (#24154) --- .../plugin-detail-panel/tool-selector/reasoning-config-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/plugins/plugin-detail-panel/tool-selector/reasoning-config-form.tsx b/web/app/components/plugins/plugin-detail-panel/tool-selector/reasoning-config-form.tsx index 98ad49034..6de83603a 100644 --- a/web/app/components/plugins/plugin-detail-panel/tool-selector/reasoning-config-form.tsx +++ b/web/app/components/plugins/plugin-detail-panel/tool-selector/reasoning-config-form.tsx @@ -259,7 +259,7 @@ const ReasoningConfigForm: React.FC = ({ className='h-8 grow' type='number' value={varInput?.value || ''} - onChange={handleValueChange(variable, type)} + onChange={e => handleValueChange(variable, type)(e.target.value)} placeholder={placeholder?.[language] || placeholder?.en_US} /> )}