Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextAreaInput. Make it possible to "commit" with ENTER and "add newline" with SHIFT+ENTER #6284

Closed
MarcSkovMadsen opened this issue Jan 30, 2024 · 0 comments · Fixed by #6379
Labels
type: enhancement Minor feature or improvement to an existing feature
Milestone

Comments

@MarcSkovMadsen
Copy link
Collaborator

The TextAreaInput is what I want to use for chatbots because I need to either enter or copy paste multiline texts.

But currently there is no way to "enter"/ "commit" the value when I am done AND stay in the focused TextAreaInput so that I can quickly enter my next question or instruction. Instead I have to use the mouse to click SEND. This confuses users and slows down the chat process.

For the TextAreaInput you use ENTER to create a new line.

Please support a chatGPT like workflow as described below.

Comparison ChatGPT text input

With chatGPT the value is "committed" when you press ENTER and the chat bot responds. You use SHIFT+ENTER to create a new line.

Comparison TextInput

With TextInput you value is "committed" when you press ENTER and the chat bot responds

@MarcSkovMadsen MarcSkovMadsen added the type: enhancement Minor feature or improvement to an existing feature label Jan 30, 2024
@MarcSkovMadsen MarcSkovMadsen added this to the Wishlist milestone Jan 30, 2024
@philippjfr philippjfr modified the milestones: Wishlist, v1.4.0 Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants