Skip to content

Commit

Permalink
修复禁用treeStatus后无法保存父节点问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Apr 30, 2021
1 parent 0db802b commit f9a6657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/Field/Tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function treeState(bool $value = true)
{
$this->options['checkbox']['three_state'] = $value;

return $this;
return $this->exceptParentNode($value);
}

/**
Expand Down

0 comments on commit f9a6657

Please sign in to comment.