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
32.86k stars 3.58k forks source link

[Bug]: Colour picker field adds unnecessary brackets when switching from non-JS to JS mode #18608

Open ramsaptami opened 1 year ago

ramsaptami commented 1 year ago

Is there an existing issue for this?

Description

Colour picker field of a nested entity like a column on a table widget appears with extra brackets when toggled from non-JS to JS mode

Steps To Reproduce

  1. Add a button widget and set store value function like: {{storeValue('colour','#4338ca')}}
  2. Drop a table widget and change table background using appsmith.store.colour
  3. On the vanilla table widget, modify one of the columns to a different type, like change text to checkbox or text to button
  4. Now toggle the background field as seen in the video attached and observe the extra bracket appear

Public Sample App

No response

Issue video log

https://www.loom.com/share/670a99b24b764eae8d55b74473f95a14

Version

Cloud

dilippitchika commented 1 year ago

This looks like a table widget bug for me, @aswathkk can you check once just to make sure it's not something on the property pane