-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
feat: preserve message text in the input field #537
feat: preserve message text in the input field #537
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like the custom-case solution.
We have validateMessage
method.
Also, consider moving magic numbers to constants.
Refactor code, if appropriate.
I need to think about how to make the validation in one place and share it between Chat and AChatForm component, then I will came with a solution |
|
after.Preserve.message.text.in.the.input.field.webm