Fix CustomComponent rendering (#2169)
This commit is contained in:
parent
f7f8aa171b
commit
ce47fcfd6c
2
.github/workflows/integration_tests.yml
vendored
2
.github/workflows/integration_tests.yml
vendored
@ -123,7 +123,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: reflex-dev/reflex-web
|
repository: reflex-dev/reflex-web
|
||||||
ref: reflex-ci
|
ref: main
|
||||||
path: reflex-web
|
path: reflex-web
|
||||||
|
|
||||||
- name: Install Requirements for reflex-web
|
- name: Install Requirements for reflex-web
|
||||||
|
@ -384,6 +384,8 @@ class Component(Base, ABC):
|
|||||||
ref = self.get_ref()
|
ref = self.get_ref()
|
||||||
if ref is not None:
|
if ref is not None:
|
||||||
props["ref"] = Var.create(ref, _var_is_local=False)
|
props["ref"] = Var.create(ref, _var_is_local=False)
|
||||||
|
else:
|
||||||
|
props = props.copy()
|
||||||
|
|
||||||
props.update(
|
props.update(
|
||||||
self.event_triggers,
|
self.event_triggers,
|
||||||
|
Loading…
Reference in New Issue
Block a user