Package
v4.x
Description
Hi, I’d love support for multiline behavior in UChatPrompt.
Right now, pressing Enter always submits. For some use cases, it would be really helpful if Enter could insert a newline at the cursor, while Ctrl+Enter or Cmd+Enter submits instead.
That feels like a common writing flow for longer prompts, and it would be great if the component supported it directly through a prop or configurable shortcut.
Additional context
No response
Package
v4.x
Description
Hi, I’d love support for multiline behavior in
UChatPrompt.Right now, pressing
Enteralways submits. For some use cases, it would be really helpful ifEntercould insert a newline at the cursor, whileCtrl+EnterorCmd+Entersubmits instead.That feels like a common writing flow for longer prompts, and it would be great if the component supported it directly through a prop or configurable shortcut.
Additional context
No response