appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.05k stars 3.68k forks source link

[Bug]: rowData.target_status was set to 'new' even if I wrote another value to it #35703

Open ysaiseu opened 1 month ago

ysaiseu commented 1 month ago

Is there an existing issue for this?

Description

See repro steps below

Steps To Reproduce

Repro steps: Create a page Add a data_table in this page Use a date query to get a list for this data_table: [{'baseline_status': {1: 1, 2:2}, 'target_status': {1:2, 2:2}}]

Create a button in column 'target_status', and create a JS bind to this button. Parse value rowData.target_status as input to JS function.

console.log(rowData.target_status) Expect : {1:2, 2:2}, but actually is 'new'

console.log(rowData.baseline_status} works well

Public Sample App

No response

Environment

Production

Severity

Low (Cosmetic UI issues)

Issue video log

No response

Version

Self Hosted: latest

Nikhil-Nandagopal commented 1 month ago

@ysaiseu it's a little hard to understand the problem here. Could you please share a video?