diff --git a/reflex/components/el/elements/forms.py b/reflex/components/el/elements/forms.py index 55f5ec99b..7b893cf98 100644 --- a/reflex/components/el/elements/forms.py +++ b/reflex/components/el/elements/forms.py @@ -400,7 +400,7 @@ class Input(BaseHTML): value = props.get("value") - # React expects an empty string(instead of null) for uncontrolled inputs. + # React expects an empty string(instead of null) for controlled inputs. if value is not None and is_optional( (value_var := Var.create(value))._var_type ): diff --git a/reflex/components/radix/themes/components/text_field.py b/reflex/components/radix/themes/components/text_field.py index 104355404..7e6dfe85c 100644 --- a/reflex/components/radix/themes/components/text_field.py +++ b/reflex/components/radix/themes/components/text_field.py @@ -100,7 +100,7 @@ class TextFieldRoot(elements.Div, RadixThemesComponent): """ value = props.get("value") - # React expects an empty string(instead of null) for uncontrolled inputs. + # React expects an empty string(instead of null) for controlled inputs. if value is not None and is_optional( (value_var := Var.create(value))._var_type ):