Skip to content

[Bug]: table data persists values from previous query. New query appended to the end, not replacing #41899

@pchambless

Description

@pchambless

Is there an existing issue for this?

  • I have searched the existing issues

Description

When I select an option in my select widget that should trigger a replacement of data in a table widget, instead of replacing the data it appends the select widget related data to the end of the previous data. The first selection data persists, no matter which new selection I make.

I expect the data in the table to be completely replaced with the related data of the select widget.

P.S. This happened when I replaced an outdated table widget with a new table widget.

Steps To Reproduce

  1. No route selected:
Image
  1. Route selected;
Image
  1. New route selected:
Image

Notice the first selected route stores are still in the table on the right.

Public Sample App

No response

Environment

Deploy Preview

Severity

High (Blocker to building or releasing)

Issue video log

No response

Version

Appsmith Community v2.1 - self-hosted

Metadata

Metadata

Labels

BugSomething isn't workingNeeds TriagingNeeds attention from maintainers to triage

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions