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:
@@ -62,7 +62,7 @@ export const MessageInput = ({
|
|||||||
<span className="w-full">
|
<span className="w-full">
|
||||||
<Input
|
<Input
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
minLength={2}
|
minLength={1}
|
||||||
placeholder="Enter Message"
|
placeholder="Enter Message"
|
||||||
value={messageDraft}
|
value={messageDraft}
|
||||||
onChange={(e) => setMessageDraft(e.target.value)}
|
onChange={(e) => setMessageDraft(e.target.value)}
|
||||||
|
|||||||
Reference in New Issue
Block a user