diff --git a/lib/BridgeAbstract.php b/lib/BridgeAbstract.php index 36a77669..a69552fc 100644 --- a/lib/BridgeAbstract.php +++ b/lib/BridgeAbstract.php @@ -192,7 +192,7 @@ abstract class BridgeAbstract implements BridgeInterface if (isset($inputs[$name])) { $value = $inputs[$name]; } else { - if ($properties['type'] === 'checkbox') { + if ($properties['type'] ?? null === 'checkbox') { $value = false; } elseif (isset($properties['defaultValue'])) { $value = $properties['defaultValue'];