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
This commit is contained in:
Tom Fifield
2024-07-24 12:47:39 +08:00
parent 4653656420
commit 8c17a8be38
@@ -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)}