Example
The Checkbox returns a string (
"true" or "false"), not a boolean. Convert the value as shown in the example above.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
A toggle control for boolean (true/false) values.
Checkbox(checked=False)
from mirmod.controls import Checkbox
@wob.receiver("value", "enabled", control=Checkbox(checked=False))
def receive_input(self, i):
self.enabled = i.lower() == "true"
"true" or "false"), not a boolean. Convert the value as shown in the example above.| Name | Type | Description |
|---|---|---|
| checked | bool | Initial checked state when the node loads. Default: False. |