Skip to content

[Bug]: appsmith state object in UI contains duplicate keys when hovering over to see preview #38116

Open
@clockhart7

Description

Is there an existing issue for this?

  • I have searched the existing issues

Description

When in edit mode and using data from the appsmith state object such as {{appsmith.user.email}} in the "Text" section of the "Text" widget if you hover over the "appsmith" key to view a preview of the data the preview will contain duplicate keys, such as a nested "appsmith" key with all the same data as the parent appsmith object

Steps To Reproduce

  1. Create a new "Text" widget
  2. In the "Text" field add "{{appsmith.user.email}}"
  3. Hover mouse over the "appsmith" part of the string to bring up a preview of the data
  4. Note the "appsmith" key inside the appsmith object that has all the same keys as the parent object

Public Sample App

No response

Environment

Production

Severity

Medium (Frustrating UX)

Issue video log

https://www.loom.com/share/4474f3e8134b4cea99144304a926017e?sid=673415bb-abe6-4e14-918c-13b46a8b6eee

Version

Appsmith v1.52

Metadata

Labels

BugSomething isn't workingCommunity Reportedissues reported by community membersEvaluated ValueIssues related to evaluated valuesJavascript ProductIssues related to users writing javascript in appsmithLowAn issue that is neither critical nor breaks a user flowNeeds TriagingNeeds attention from maintainers to triageProductionQuery & JS PodIssues related to the query & JS Pod

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions