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 GitHub
parent c2606f9062
commit 5f0b52c017

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}
/>
)}