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.26k stars 3.71k forks source link

[Bug]: Select/Multiselect widget breaks when you select Label that is not having the required structure #26393

Open kamakshibhat-appsmith opened 1 year ago

kamakshibhat-appsmith commented 1 year ago

Is there an existing issue for this?

Description

Select/Multiselect widget breaks when you select Label that is not having the required structure

Steps To Reproduce

  1. DnD a multi select widget
  2. bind it to Mongo query
  3. Select label and value as _id or anything that is having the correct structure
  4. After the widget is binded correctly, select label as genre . P.S Genre is having structure like

"genres":[ 0:{ "name":"Comedy" "id":35 } 1:{ "name":"Crime" "id":80 } ]

5.Notice that widget breaks

https://www.loom.com/share/d712c5e2f06c4859879ea3e923a01e41

Public Sample App

No response

Environment

Release

Issue video log

No response

Version

Cloud/Release

kamakshibhat-appsmith commented 1 year ago

Similar to : https://github.com/appsmithorg/appsmith/issues/26382