forgor
This commit is contained in:
parent
3d111501fb
commit
00fe50fed9
@ -39,6 +39,7 @@ from reflex.constants import (
|
|||||||
PageNames,
|
PageNames,
|
||||||
)
|
)
|
||||||
from reflex.constants.compiler import SpecialAttributes
|
from reflex.constants.compiler import SpecialAttributes
|
||||||
|
from reflex.constants.state import FRONTEND_EVENT_STATE
|
||||||
from reflex.event import (
|
from reflex.event import (
|
||||||
EventCallback,
|
EventCallback,
|
||||||
EventChain,
|
EventChain,
|
||||||
@ -1147,7 +1148,7 @@ class Component(BaseComponent, ABC):
|
|||||||
if isinstance(event, EventSpec):
|
if isinstance(event, EventSpec):
|
||||||
if (
|
if (
|
||||||
event.handler.state_full_name
|
event.handler.state_full_name
|
||||||
and event.handler.state_full_name != "state"
|
and event.handler.state_full_name != FRONTEND_EVENT_STATE
|
||||||
):
|
):
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user