diff --git a/src/TreeView.php b/src/TreeView.php index bc1f25d..7639777 100644 --- a/src/TreeView.php +++ b/src/TreeView.php @@ -68,6 +68,10 @@ public function performReadonlyTransformation() { } public function setValue($value, $data = null) { + if (!$value) { + return $this; + } + $this->section = $value; return $this; }