Fix number input in tool configure form of agent node tool item (#24154)

This commit is contained in:
KVOJJJin
2025-08-19 14:26:09 +08:00
committed by hjlarry
parent 513dd11f33
commit 772e52b723

View File

@@ -259,7 +259,7 @@ const ReasoningConfigForm: React.FC<Props> = ({
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}
/>
)}