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 && (
<Textarea
value={value || ''}
onChange={onChange}
onChange={e => onChange(e.target.value)}
placeholder={t('appDebug.variableConig.inputPlaceholder')!}
autoFocus={autoFocus}
/>