Fix the default value of a checkbox

The value is bool, but the default is None. This makes the default False.
This commit is contained in:
Dave Pearson
2022-11-10 21:32:00 +00:00
parent 3dae5f2c93
commit bd21e248b1

View File

@@ -66,7 +66,7 @@ class Checkbox(Widget, can_focus=True):
def __init__(
self,
value: bool = None,
value: bool = False,
*,
animate: bool = True,
name: str | None = None,