mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 07:22:10 -05:00
Add max length to message box.
This commit is contained in:
parent
69cd410aff
commit
b8c345f493
1 changed files with 1 additions and 0 deletions
|
@ -497,6 +497,7 @@ export default observer(({ channel }: Props) => {
|
||||||
hideBorder
|
hideBorder
|
||||||
maxRows={20}
|
maxRows={20}
|
||||||
id="message"
|
id="message"
|
||||||
|
maxLength={2000}
|
||||||
onKeyUp={onKeyUp}
|
onKeyUp={onKeyUp}
|
||||||
value={draft ?? ""}
|
value={draft ?? ""}
|
||||||
padding="var(--message-box-padding)"
|
padding="var(--message-box-padding)"
|
||||||
|
|
Loading…
Reference in a new issue