Skip to content

fix: disable whitespace-only submissions - #171

Open
521Peter wants to merge 1 commit into
nlkitai:latestfrom
521Peter:fix/issue-164-whitespace-submit
Open

521Peter wants to merge 1 commit into
nlkitai:latestfrom
521Peter:fix/issue-164-whitespace-submit

Conversation

@521Peter

Copy link
Copy Markdown

Summary

  • treat whitespace-only composer values as empty
  • keep submit disabled during initial rendering, prop updates, and status changes
  • add regression coverage for initial and updated whitespace-only messages

Testing

  • yarn --cwd specs test specs/ui/js/Composer/Composer-typing.spec.ts
  • yarn lint

Fixes #164

@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

@521Peter is attempting to deploy a commit to the NLKit Team on Vercel.

A member of the Team first needs to authorize it.

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.

Can we disable submit button if user enters only spaces?

1 participant