refactor(dify-ui): pass textarea ref through field control

This commit is contained in:
yyh
2026-05-23 18:41:24 +08:00
parent 40d06bd476
commit d227ece063

View File

@ -98,7 +98,8 @@ export function Textarea({
onValueChange?.(nextValue, eventDetails)
}}
render={<textarea {...props} ref={ref} />}
ref={ref}
render={<textarea {...props} />}
value={value}
/>
{showCharacterCount