fix: mockOnChange on user input textarea

This commit is contained in:
2025-01-08 10:46:08 +08:00
parent 74775b5265
commit f0db9e6b03
2 changed files with 14 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ interface ChatInputProps
const ChatInput = React.forwardRef<HTMLTextAreaElement, ChatInputProps>(
({ className, ...props }, ref) => (
<Textarea
mockOnChange={false}
autoComplete="off"
ref={ref}
name="message"