You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reflex_ui/components/base/select.pyi
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,7 @@ class SelectRoot(SelectBaseComponent):
101
101
default_open: Var[bool] |bool|None=None,
102
102
open: Var[bool] |bool|None=None,
103
103
modal: Var[bool] |bool|None=None,
104
+
multiple: Var[bool] |bool|None=None,
104
105
disabled: Var[bool] |bool|None=None,
105
106
read_only: Var[bool] |bool|None=None,
106
107
required: Var[bool] |bool|None=None,
@@ -824,6 +825,7 @@ class HighLevelSelect(SelectRoot):
824
825
default_open: Var[bool] |bool|None=None,
825
826
open: Var[bool] |bool|None=None,
826
827
modal: Var[bool] |bool|None=None,
828
+
multiple: Var[bool] |bool|None=None,
827
829
disabled: Var[bool] |bool|None=None,
828
830
read_only: Var[bool] |bool|None=None,
829
831
required: Var[bool] |bool|None=None,
@@ -875,10 +877,11 @@ class HighLevelSelect(SelectRoot):
875
877
open: Whether the select menu is currently open
876
878
on_open_change: Event handler called when the select menu is opened or closed
877
879
on_open_change_complete: Event handler called after any animations complete when the select menu is opened or closed
878
-
modal: Determines if the select enters a modal state when open. - True: user interaction is limited to the select: document page scroll is locked and pointer interactions on outside elements are disabled. - False: user interaction with the rest of the document is allowed.
879
-
disabled: Whether the component should ignore user interaction
880
-
read_only: Whether the user should be unable to choose a different option from the select menu
881
-
required: Whether the user must choose a value before submitting a form
880
+
modal: Determines if the select enters a modal state when open. - True: user interaction is limited to the select: document page scroll is locked and pointer interactions on outside elements are disabled. - False: user interaction with the rest of the document is allowed. Defaults to True.
881
+
multiple: Whether multiple items can be selected. Defaults to False.
882
+
disabled: Whether the component should ignore user interaction. Defaults to False.
883
+
read_only: Whether the user should be unable to choose a different option from the select menu. Defaults to False.
884
+
required: Whether the user must choose a value before submitting a form. Defaults to False.
882
885
unstyled: Whether the component should be unstyled
883
886
style: The style of the component.
884
887
key: A unique key for the component.
@@ -926,6 +929,7 @@ class Select(ComponentNamespace):
926
929
default_open: Var[bool] |bool|None=None,
927
930
open: Var[bool] |bool|None=None,
928
931
modal: Var[bool] |bool|None=None,
932
+
multiple: Var[bool] |bool|None=None,
929
933
disabled: Var[bool] |bool|None=None,
930
934
read_only: Var[bool] |bool|None=None,
931
935
required: Var[bool] |bool|None=None,
@@ -977,10 +981,11 @@ class Select(ComponentNamespace):
977
981
open: Whether the select menu is currently open
978
982
on_open_change: Event handler called when the select menu is opened or closed
979
983
on_open_change_complete: Event handler called after any animations complete when the select menu is opened or closed
980
-
modal: Determines if the select enters a modal state when open. - True: user interaction is limited to the select: document page scroll is locked and pointer interactions on outside elements are disabled. - False: user interaction with the rest of the document is allowed.
981
-
disabled: Whether the component should ignore user interaction
982
-
read_only: Whether the user should be unable to choose a different option from the select menu
983
-
required: Whether the user must choose a value before submitting a form
984
+
modal: Determines if the select enters a modal state when open. - True: user interaction is limited to the select: document page scroll is locked and pointer interactions on outside elements are disabled. - False: user interaction with the rest of the document is allowed. Defaults to True.
985
+
multiple: Whether multiple items can be selected. Defaults to False.
986
+
disabled: Whether the component should ignore user interaction. Defaults to False.
987
+
read_only: Whether the user should be unable to choose a different option from the select menu. Defaults to False.
988
+
required: Whether the user must choose a value before submitting a form. Defaults to False.
984
989
unstyled: Whether the component should be unstyled
0 commit comments