Skip to content
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

Fix #2548: TreeNode typescript add expanded attribute #2549

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

melloware
Copy link
Member

###Defect Fixes
Fix #2548: TreeNode typescript add expanded attribute

I am writing my own custom tree node filtering algorithm and I based it on the current file name based filtering algorithm in the tree component.

I noticed this code:

            if (matched) {
                node.expanded = true;
                return true;
            }

But in TypeScript my code says that expanded is not a valid property of TreeNode.

@mertsincan mertsincan merged commit 75f0783 into primefaces:master Jan 19, 2022
@melloware melloware deleted the PR2548 branch January 19, 2022 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TreeNode: TypeScript def missing expanded property
2 participants