Skip to content

[Bug]: currentItem is not defined in Empty List Widget #31925

@amelia-c0n

Description

@amelia-c0n

Is there an existing issue for this?

  • I have searched the existing issues

Description

When a List widget is empty, the error message currentItem is not defined gets displayed even though the container and widgets are hidden. This is confusing to users and leads to a poor customer experience.

image

Steps To Reproduce

  1. Add a List widget to the canvas.
  2. Ensure that the query/API that populates it returns no data or hardcode the Items using [].

Public Sample App

No response

Environment

Production

Severity

Medium (Frustrating UX)

Issue video log

No response

Version

v1.17

Metadata

Metadata

Labels

BugSomething isn't workingCommunity Reportedissues reported by community membersList WidgetIssues related to the list widgetMediumIssues that frustrate users due to poor UXNeeds TriagingNeeds attention from maintainers to triageProductionQANeeds QA attentionQuery Widgets & IDE PodAll issues related to Query, JS, Eval, Widgets & IDEWidgets ProductThis label groups issues related to widgets

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions