Skip to content

Commit 4d4788a

Browse files
committed
docs: submit/focus require value
1 parent 347dd4f commit 4d4788a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shiny/ui/_chat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,9 @@ def update_user_input(
951951
placeholder
952952
The placeholder text for the user input.
953953
submit
954-
Whether to automatically submit the text for the user.
954+
Whether to automatically submit the text for the user. Requires `value`.
955955
focus
956-
Whether to move focus to the input element.
956+
Whether to move focus to the input element. Requires `value`.
957957
"""
958958

959959
if value is None and (submit or focus):

0 commit comments

Comments
 (0)