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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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