-
Notifications
You must be signed in to change notification settings - Fork 1k
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
DataTable: RowClass conditional styling not working #6194
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Comments
elBurg0
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Mar 20, 2024
I will investigate. |
Yep that is definitely what caused it. I think I know the right fix |
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
Mar 21, 2024
melloware
added a commit
to melloware/primereact
that referenced
this issue
Mar 21, 2024
@melloware you did not address my review #5996 |
yep i broke it and submitted a fix. I had removed your wrapper |
mertsincan
pushed a commit
that referenced
this issue
Mar 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Conditional formatting classes are rendered as
class="[object Object]"
resulting in the formatting not being applied.Used to work up to primereact v10.5.1.
Reproducer
No response
PrimeReact version
10.5.3
React version
18.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
Safari, Chrome
Steps to reproduce the behavior
This behavior can also be seen on the demo page: https://primereact.org/datatable/#conditional_style
Expected behavior
Conditional formatting of rows with classnames
The text was updated successfully, but these errors were encountered: