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

[Bug]: JSON values are shown in the table cell, when one of the rows does not contain corresponding value. #38157

Open
1 task done
rahulbarwal opened this issue Dec 13, 2024 · 0 comments · May be fixed by #38205
Open
1 task done
Assignees
Labels
Bug Something isn't working Medium Issues that frustrate users due to poor UX Needs Triaging Needs attention from maintainers to triage Production Table Widget V2 Issues related to Table Widget V2 Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets

Comments

@rahulbarwal
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Description

This happens when the computed value is not present in all the rows. If any of the object returns undefined, it breaks the entire column and only JSON is shown.

Slack conversation
Screenshot 2024-12-13 at 3 09 44 PM
Screenshot 2024-12-13 at 3 10 07 PM

Steps To Reproduce

  1. Drop a table widget
  2. Add data: {{ [ {name: "rahul", age: {value : 31}} , {name: "tom"} ] }}
  3. In the computed value of age field: {{ currentRown["age"].value }}
  4. Notice that for the first row, age field, instead of showing 31 it shows { value: 31}

Public Sample App

No response

Environment

Production

Severity

Medium (Frustrating UX)

Issue video log

No response

Version

Cloud

@rahulbarwal rahulbarwal added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage Table Widget V2 Issues related to Table Widget V2 labels Dec 13, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added Medium Issues that frustrate users due to poor UX Production labels Dec 13, 2024
@github-actions github-actions bot added Widgets Product This label groups issues related to widgets Widgets & Accelerators Pod Issues related to widgets & Accelerators labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Medium Issues that frustrate users due to poor UX Needs Triaging Needs attention from maintainers to triage Production Table Widget V2 Issues related to Table Widget V2 Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants