File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,9 @@ def input_selectize(
7474 An input label.
7575 choices
7676 Either a list of choices or a dictionary mapping choice values to labels. Note
77- that if a dictionary is provided, the keys are used as the (input) values so
78- that the dictionary values can hold HTML labels. A dictionary of dictionaries is
77+ 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
7980 also supported, and in that case, the top-level keys are treated as
8081 ``<optgroup>`` labels.
8182 selected
@@ -155,8 +156,9 @@ def input_select(
155156 An input label.
156157 choices
157158 Either a list of choices or a dictionary mapping choice values to labels. Note
158- that if a dictionary is provided, the keys are used as the (input) values so
159- that the dictionary values can hold HTML labels. A dictionary of dictionaries is
159+ 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
160162 also supported, and in that case, the top-level keys are treated as
161163 ``<optgroup>`` labels.
162164 selected
You can’t perform that action at this time.
0 commit comments