Skip to content

Commit

Permalink
Default to one row for ChatAreaInput (#6435)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 authored Mar 5, 2024
1 parent 7d1b4e4 commit 2d37f33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions panel/chat/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ class ChatAreaInput(_PnTextAreaInput):
accommodate the current text.""",
)

rows = param.Integer(default=1, doc="""
Number of rows in the text input field.""")

max_rows = param.Integer(
default=10,
doc="""
Expand Down

0 comments on commit 2d37f33

Please sign in to comment.