Skip to content

Commit 7036369

Browse files
authored
Fix Container on_click callback (#139)
1 parent 83f5aec commit 7036369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/python/flet/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def ink(self, value: Optional[bool]):
181181
# on_click
182182
@property
183183
def on_click(self):
184-
return self._get_event_handler("on_click")
184+
return self._get_event_handler("click")
185185

186186
@on_click.setter
187187
def on_click(self, handler):

0 commit comments

Comments
 (0)