Skip to content

Commit

Permalink
fix(treeview): Fix bug on form validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco (Valandur) committed Mar 18, 2019
1 parent 1b86bba commit a35ebaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/TreeView.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ public function performReadonlyTransformation() {
}

public function setValue($value, $data = null) {
if (!$value) {
return $this;
}

$this->section = $value;
return $this;
}
Expand Down

0 comments on commit a35ebaf

Please sign in to comment.