Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions shiny/ui/_input_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def input_date(
Notes
------
::: {.callout-note title="Server value"}
A :class:`~datetime.date` object.
A :class:`~datetime.date` object or `None` if the user deletes the input field.
:::

See Also
Expand Down Expand Up @@ -223,7 +223,8 @@ def input_date_range(
Notes
------
::: {.callout-note title="Server value"}
A tuple of :class:`~datetime.date` objects.
A 2-element tuple containing :class:`~datetime.date` objects or `None`. Each tuple
element will be `None` if the user deletes the corresponding input field.
:::

See Also
Expand Down
2 changes: 1 addition & 1 deletion shiny/ui/_input_numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def input_numeric(
Notes
------
::: {.callout-note title="Server value"}
A numeric value.
An `int`, `float` or `None` (if the user deletes the input field).
:::

See Also
Expand Down
4 changes: 1 addition & 3 deletions shiny/ui/_input_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@
_topics = {
"Server value": """
If `multiple=False`, the server value is a string with the value of the selected item.
If `multiple=True`, the server value is a tuple containing the values of the
selected items. When ``multiple=True`` and nothing is selected, this value
will be ``None``.
If `multiple=True`, the server value is a tuple of string(s) with the selected value(s) (if any).
"""
}

Expand Down