forked from prehistoric-systems/chatpad
limit textarea max rows
This commit is contained in:
parent
e86fd6772e
commit
d0f7c5bb72
1 changed files with 1 additions and 0 deletions
|
|
@ -277,6 +277,7 @@ export function ChatRoute() {
|
|||
autoFocus
|
||||
disabled={submitting}
|
||||
minRows={1}
|
||||
maxRows={5}
|
||||
value={content}
|
||||
onChange={(event) => setContent(event.currentTarget.value)}
|
||||
onKeyDown={async (event) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue