Skip to content

fix: Chat Input Reset and Send Button Disable Logic in ChatRoom Component#399

Merged
Prajwal-Microsoft merged 4 commits intomainfrom
dev
Jun 18, 2025
Merged

fix: Chat Input Reset and Send Button Disable Logic in ChatRoom Component#399
Prajwal-Microsoft merged 4 commits intomainfrom
dev

Conversation

@Prasanjeet-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

This PR resolves bugs in the ChatRoom component related to the chat input field

  • Ensures the textarea is properly cleared and reset after starting a new topic.
  • Disables the send button when the input is empty or the chat is loading, preventing unintended or empty submissions.

Does this introduce a breaking change?

  • Yes
  • No

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid:

  • After starting a new topic, confirm the chat input is fully cleared and cannot send empty messages.
  • The send button should be disabled when the input is empty or during loading states.
  • Ensure a smooth user experience with no regressions in chat operations.

@Prajwal-Microsoft Prajwal-Microsoft merged commit 897737d into main Jun 18, 2025
8 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants