mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user