Skip to content

Fix DataTable crashes when its data is not a React primitive#10777

Merged
slax57 merged 1 commit intomasterfrom
fix-datatable-cell
Jun 10, 2025
Merged

Fix DataTable crashes when its data is not a React primitive#10777
slax57 merged 1 commit intomasterfrom
fix-datatable-cell

Conversation

@djhi
Copy link
Copy Markdown
Contributor

@djhi djhi commented Jun 10, 2025

Problem

When the record field data is not a React primitive (for instance an object which can happen often with guessers), the application crashes.

Solution

Make sure to call toString on the value we have for a record field.

How To Test

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)
  • The PR includes one or several stories (if not possible, describe why)
  • The documentation is up to date

Also, please make sure to read the contributing guidelines.

@slax57 slax57 added this to the 5.8.4 milestone Jun 10, 2025
@slax57 slax57 merged commit 8f25468 into master Jun 10, 2025
15 checks passed
@slax57 slax57 deleted the fix-datatable-cell branch June 10, 2025 16:26
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.

2 participants