We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2888270 commit 3cbfccdCopy full SHA for 3cbfccd
src/SelectboxTree.php
@@ -34,7 +34,7 @@ public function process(array $data): array
34
$categories = [];
35
foreach ($data as $item) {
36
if ($item instanceof SelectboxItem) {
37
- $categoryItem = $item;
+ $categoryItem = $item->toArray();
38
} else {
39
$categoryItem = [
40
'id' => $item['id'],
0 commit comments