Skip to content

Commit 0e3a2f0

Browse files
Merge pull request #74 from iotronlab/patch-1
Update SelectTree.php
2 parents f8ddfd9 + 4740ea8 commit 0e3a2f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SelectTree.php

+1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ private function buildNode($result, $resultMap, $disabledOptions, $hiddenOptions
185185
$node = [
186186
'name' => $result->{$this->getTitleAttribute()},
187187
'value' => $result->getKey(),
188+
'parent' => $result->{$this->getParentAttribute()},
188189
'disabled' => in_array($result->getKey(), $disabledOptions),
189190
'hidden' => in_array($result->getKey(), $hiddenOptions),
190191
];

0 commit comments

Comments
 (0)