Skip to content

[Bug]: getNodeCollapsedState() didn't work #88

@cyanogenic

Description

@cyanogenic

What happened?

use getNodeCollapsedState() to starting with collapsed nodes for large trees

How to reproduce the bug

use this function below:

public function getNodeCollapsedState(?\Illuminate\Database\Eloquent\Model $record = null): bool
{
return true; // Start with all nodes collapsed
}

Package Version

3.0.2

PHP Version

8.4

Laravel Version

12.28.1

Which operating systems does with happen with?

macOS, Windows, Linux

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions