-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add nestedToArray to treecollection #193
Add nestedToArray to treecollection #193
Conversation
Looks great @damsfx! Could you PR the docs as well? |
wintercms/docs#221 for the trait. For the |
@LukeTowers I don't see the new |
@damsfx I think I need to look into what triggers it to regenerate the API docs |
Added a new method to the
TreeCollection
class to obtain the collection in a nested array.In order to add a tree view mode to the checkboxlist formwidget, I need to be able to get the collection items as a nested tree.
Can be used with multiple column names to be returned in the array:
Can also be used without key :