Skip to content

Commit f09bb8f

Browse files
committed
fix(selectize): Accept jsonifiable values in options dictionary
1 parent 8787772 commit f09bb8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shiny/ui/_input_select.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
from __future__ import annotations
44

5+
from shiny.types import Jsonifiable
6+
57
__all__ = (
68
"input_select",
79
"input_selectize",
@@ -57,7 +59,7 @@ def input_selectize(
5759
multiple: bool = False,
5860
width: Optional[str] = None,
5961
remove_button: Optional[bool] = None,
60-
options: Optional[dict[str, str | float | JSEval]] = None,
62+
options: Optional[dict[str, Jsonifiable | JSEval]] = None,
6163
) -> Tag:
6264
"""
6365
Create a select list that can be used to choose a single or multiple items from a

0 commit comments

Comments
 (0)