fix textarea onchange

This commit is contained in:
JzoNg 2024-08-08 11:18:12 +08:00
parent 257c515178
commit 9362ae045c

View File

@ -119,7 +119,7 @@ const FormItem: FC<Props> = ({
type === InputVarType.paragraph && ( type === InputVarType.paragraph && (
<Textarea <Textarea
value={value || ''} value={value || ''}
onChange={onChange} onChange={e => onChange(e.target.value)}
placeholder={t('appDebug.variableConig.inputPlaceholder')!} placeholder={t('appDebug.variableConig.inputPlaceholder')!}
autoFocus={autoFocus} autoFocus={autoFocus}
/> />