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

Table component breaks with nested object in data #9775

Open
GrowwithNaveen opened this issue May 20, 2024 · 0 comments
Open

Table component breaks with nested object in data #9775

GrowwithNaveen opened this issue May 20, 2024 · 0 comments
Assignees

Comments

@GrowwithNaveen
Copy link
Collaborator

GrowwithNaveen commented May 20, 2024

Description:
The table component is currently breaking when provided with a nested object in the data. Ideally, the table should handle incorrect data structures gracefully without causing a break.

Steps to reproduce:

  1. Add a new table component to a page.
  2. Create a sample dataset with nested objects.
  3. Bind the prepared dataset with nested objects to the table component via Query manager.
  4. Notice that the table component breaks, when it encounters the nested object in the dataset.

Expected Behavior:
The table component should not break. Instead, it should handle the nested objects, possibly by either flattening the data or ignoring nested structures while displaying a warning or error message.

Solution:
Please investigate and implement a solution to ensure the table component can manage nested objects without breaking.

Slack thread: https://tooljet.slack.com/archives/C02QT13RF51/p1716176291347559

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants