Skip to content

configurable multiline behavior for UChatPrompt #6177

Description

@schplitt

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageAwaiting initial review and prioritizationv4#4488

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions