Browse Source

Allow single character messages in MessageInput

In character-based languages (eg Chinese, Japanese, Korean), there
are many common interjections that are single characters. Allow
single character messages to support these users to communicate
naturally.

fixes meshtastic/web#264
pull/265/head
Tom Fifield 2 years ago
parent
commit
8c17a8be38
  1. 2
      src/components/PageComponents/Messages/MessageInput.tsx

2
src/components/PageComponents/Messages/MessageInput.tsx

@ -62,7 +62,7 @@ export const MessageInput = ({
<span className="w-full">
<Input
autoFocus={true}
minLength={2}
minLength={1}
placeholder="Enter Message"
value={messageDraft}
onChange={(e) => setMessageDraft(e.target.value)}

Loading…
Cancel
Save