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
|
||||
maxRows={20}
|
||||
id="message"
|
||||
maxLength={2000}
|
||||
onKeyUp={onKeyUp}
|
||||
value={draft ?? ""}
|
||||
padding="var(--message-box-padding)"
|
||||
|
|
Loading…
Reference in a new issue