Skip to content

Commit c55fcd2

Browse files
committed
Docstring updates
1 parent a07c97a commit c55fcd2

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

shiny/ui/_input_select.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ def input_selectize(
7575
choices
7676
Either a list of choices or a dictionary mapping choice values to labels. Note
7777
that if a dictionary is provided, the keys are used as the (input) values and
78-
the values are labels displayed to the user. It is not recommended to use
79-
anything other than a string for these labels. A dictionary of dictionaries is
78+
the values are labels displayed to the user. A dictionary of dictionaries is
8079
also supported, and in that case, the top-level keys are treated as
8180
``<optgroup>`` labels.
8281
selected
@@ -157,8 +156,7 @@ def input_select(
157156
choices
158157
Either a list of choices or a dictionary mapping choice values to labels. Note
159158
that if a dictionary is provided, the keys are used as the (input) values and
160-
the values are labels displayed to the user. It is not recommended to use
161-
anything other than a string for these labels. A dictionary of dictionaries is
159+
the values are labels displayed to the user. A dictionary of dictionaries is
162160
also supported, and in that case, the top-level keys are treated as
163161
``<optgroup>`` labels.
164162
selected

shiny/ui/_input_update.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,7 @@ def update_selectize(
696696
An input label.
697697
choices
698698
Either a list of choices or a dictionary mapping choice values to labels. Note
699-
that if a dictionary is provided, the keys are used as the (input) values so
700-
that the dictionary values can hold HTML labels. A dictionary of dictionaries is
699+
that if a dictionary is provided, the keys are used as the (input) values. A dictionary of dictionaries is
701700
also supported, and in that case, the top-level keys are treated as
702701
``<optgroup>`` labels.
703702
selected

0 commit comments

Comments
 (0)