Added default val radio group (#961)
This commit is contained in:
parent
893c0b132e
commit
272dfc2d7e
@ -20,6 +20,9 @@ class RadioGroup(ChakraComponent):
|
|||||||
# State var to bind the the input.
|
# State var to bind the the input.
|
||||||
value: Var[Any]
|
value: Var[Any]
|
||||||
|
|
||||||
|
# The default value.
|
||||||
|
default_value: Var[Any]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_controlled_triggers(cls) -> Dict[str, Var]:
|
def get_controlled_triggers(cls) -> Dict[str, Var]:
|
||||||
"""Get the event triggers that pass the component's value to the handler.
|
"""Get the event triggers that pass the component's value to the handler.
|
||||||
|
Loading…
Reference in New Issue
Block a user