Closed DmitrySkibitsky closed 6 years ago
$result = \Nestable::make($prepare_data);
dd($result);
NestableService {#1293 ▼
#config: array:7 [▶]
#parent: "parent_id"
#parents: null
#dropdownAttr: []
#selected: false
#placeholder: []
#optionAttr: null
#optionUlAttr: null
#active: false
#multiple: false
+data: Collection {#1294 ▶}
#route: false
#customUrl: null
#macros: null
+"primary_key": "id"
}
dd($result->renderAsDropdown());
count(): Parameter must be an array or an object that implements Countable
Hi @DmitrySkibitsky
Fixed. Update the package.
Before the update worked