Browse Source

Temporarily disable full control (#871)

Alek Petuskey 2 years ago
parent
commit
c5b2b28721
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pynecone/components/component.py

+ 2 - 1
pynecone/components/component.py

@@ -135,7 +135,8 @@ class Component(Base, ABC):
             # Check if the key is an event trigger.
             if key in triggers:
                 state_name = kwargs["value"].name if kwargs.get("value", False) else ""
-                full_control = self.is_full_control(kwargs)
+                # Temporarily disable full control for event triggers.
+                full_control = False
                 kwargs["event_triggers"][key] = self._create_event_chain(
                     key, value, state_name, full_control
                 )