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
33.79k stars 3.64k forks source link

[Bug]: List widget does not load data on view mode #25512

Open bharath31 opened 1 year ago

bharath31 commented 1 year ago

Is there an existing issue for this?

Description

When I try to load data on a list widget, I see the results in edit mode but not in view mode on a published app

Loom

https://www.loom.com/share/8ffc719b42814c82be33ad87b109db93?sid=ec4911d4-2871-4d27-96b4-988b523d042a

Steps To Reproduce

  1. Create a simple weather API with the following urlhttps://api.open-meteo.com/v1/forecast?latitude={{this.params.lat}}&longitude={{this.params.long}}&hourly=temperature_2m
  2. Drag and drop a map widget, button widget and list widget
  3. Configure button onClick to {{get_weather.run({ "lat": Map1.center.lat, "long": Map1.center.long });}}
  4. Configure the list widget binding to {{get_weather.data.hourly.temperature_2m}}

Public Sample App

https://app.appsmith.com/app/weather-updates/page1-64ae42701fff8f532aee2261

Export: weather updates.json.zip

Environment

Production

Issue video log

No response

Version

Cloud

dilippitchika commented 1 year ago

Thanks for raising this bharath, taking a look. Can you also tell me why the data identifier is UUID?

bharath31 commented 1 year ago

Thanks for raising this bharath, taking a look. Can you also tell me why the data identifier is UUID?

@dilippitchika I've used a UUID because the original data source does not return a unique identifier for every list item