Skip to content

fix: disable send button for whitespace input - #6

Open
xeseing wants to merge 1 commit into
humanloop:mainfrom
xeseing:fix-disable-whitespace-submit
Open

fix: disable send button for whitespace input#6
xeseing wants to merge 1 commit into
humanloop:mainfrom
xeseing:fix-disable-whitespace-submit

Conversation

@xeseing

@xeseing xeseing commented Jul 15, 2026

Copy link
Copy Markdown

Summary

Disables the send button when the chat input only contains whitespace.

Changes

  • Updated the send button disabled state to use input.trim()
  • Keeps the button behavior consistent with the existing submit validation

Testing

  • Reviewed the input state logic locally
  • Verified the change only affects the disabled state of the send button

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.

1 participant