Added default val radio group (#961)

This commit is contained in:
Alek Petuskey 2023-05-06 23:07:57 -07:00 committed by GitHub
parent 893c0b132e
commit 272dfc2d7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,9 @@ class RadioGroup(ChakraComponent):
# State var to bind the the input.
value: Var[Any]
# The default value.
default_value: Var[Any]
@classmethod
def get_controlled_triggers(cls) -> Dict[str, Var]:
"""Get the event triggers that pass the component's value to the handler.