Skip to content

[Bug]: MultiSelect widget not working properly inside List Widget #41210

@saharAdem

Description

@saharAdem

Is there an existing issue for this?

  • I have searched the existing issues

Description

The MultiSelect widget inside the first list item loses its previously selected values when clicking on other list items. This happens because each list item click triggers a re-render, causing the MultiSelect’s selectedOptions to reset to its default value, which overwrites the previously selected values.

Steps To Reproduce

  1. Add a List Widget.
  2. Add a MultiSelect Widget inside the List Widget.
  3. Set a default value for the MultiSelect Widget (e.g., "GREEN").
  4. Switch to Preview mode.
  5. In the first list item, select an option in the MultiSelect widget.
  6. Click on any other list item.
  7. click on the first list item, notice that the previously selected values in the MultiSelect widget are lost.

Public Sample App

No response

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

https://www.loom.com/share/6bdf2739347c4a81b38cd797ebe4bdf2?sid=19782104-47c5-4c4a-88d7-f6175a07cefc

Version

Cloud

Metadata

Metadata

Labels

BugSomething isn't workingCommunity Reportedissues reported by community membersHighThis issue blocks a user from building or impacts a lot of usersNeeds TriagingNeeds attention from maintainers to triageProduction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions