Skip to content

Commit a230be2

Browse files
Merge remote-tracking branch 'upstream/main' into explicit-event-id-minification
2 parents 6b4c5fa + 5d1d6db commit a230be2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

reflex/components/core/debounce.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ def create(cls, *children: Component, **props: Any) -> Component:
111111
child_ref = child.get_ref()
112112
if props.get("input_ref") is None and child_ref:
113113
props["input_ref"] = Var(_js_expr=child_ref, _var_type=str)
114+
if child.id is not None:
114115
props["id"] = child.id
115116

116117
# Set the child element to wrap, including any imports/hooks from the child.

0 commit comments

Comments
 (0)