diff --git a/pynecone/components/forms/radio.py b/pynecone/components/forms/radio.py index 41283eaee..9abcb4237 100644 --- a/pynecone/components/forms/radio.py +++ b/pynecone/components/forms/radio.py @@ -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.