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

Tree Table: Footer is defined as a function but it doesn't work #4960

Closed
iJulioDuarte opened this issue Sep 25, 2023 · 0 comments · Fixed by #4965
Closed

Tree Table: Footer is defined as a function but it doesn't work #4960

iJulioDuarte opened this issue Sep 25, 2023 · 0 comments · Fixed by #4965
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@iJulioDuarte
Copy link

Describe the bug

When a tree-list column's footer is defined as a function (a configuration that is possible for data table columns), it does not render the function's return correctly and displays an error in the console

Reproducer

https://codesandbox.io/s/primereact-demo-forked-kltgcn?file=/src/App.js

PrimeReact version

9.6.2

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

Open console.

Expected behavior

I expect the footer to correctly render the node returned by the function

@iJulioDuarte iJulioDuarte added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 25, 2023
@melloware melloware self-assigned this Sep 25, 2023
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Sep 25, 2023
@melloware melloware added this to the 10.0.0 milestone Sep 25, 2023
melloware added a commit to melloware/primereact that referenced this issue Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants