From 2d37f33ab5c21850627c055e0ee9ba452c0b3db9 Mon Sep 17 00:00:00 2001 From: Andrew <15331990+ahuang11@users.noreply.github.com> Date: Tue, 5 Mar 2024 05:19:31 -0800 Subject: [PATCH] Default to one row for ChatAreaInput (#6435) --- panel/chat/input.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panel/chat/input.py b/panel/chat/input.py index d63ca39247..8292f31a55 100644 --- a/panel/chat/input.py +++ b/panel/chat/input.py @@ -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="""