Skip to content

Commit

Permalink
Pass data to Control.__init__
Browse files Browse the repository at this point in the history
Fixes #2826
  • Loading branch information
ndonkoHenri committed Mar 9, 2024
1 parent 548b3ba commit fe3d122
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ def __init__(
checked: Optional[bool] = None,
content: Optional[Control] = None,
on_click=None,
data: Any = None,
#
# Control
#
ref: Optional[Ref] = None,
disabled: Optional[bool] = None,
data: Any = None,
):
Control.__init__(self, ref=ref, disabled=disabled)
Control.__init__(self, ref=ref, disabled=disabled, data=data)

self.checked = checked
self.icon = icon
Expand Down

0 comments on commit fe3d122

Please sign in to comment.