atayahmet / laravel-nestable

Laravel 5 nested category/menu generator
MIT License
214 stars 52 forks source link

How to display nestable array data in view ? #58

Closed DarkcoderSe closed 6 years ago

DarkcoderSe commented 6 years ago

image

i dd() the data. but when i use foreach loop for this data it shows error. how to solve this ?

atayahmet commented 6 years ago

What do you do want to do exactly? If you want to show the data as html markup in view, you can use the renderAsHtml or renderAsDropdown methods. Or can you share errors stack?