Skip to content

Preserve selected state when filtering items during search#216

Open
sathesherode wants to merge 2 commits intoCHB61:masterfrom
sathesherode:patch-1
Open

Preserve selected state when filtering items during search#216
sathesherode wants to merge 2 commits intoCHB61:masterfrom
sathesherode:patch-1

Conversation

@sathesherode
Copy link

The existing search implementation rebuilt the item list without reapplying selection flags, causing previously selected items to appear unselected in filtered search results. This commit ensures that MultiSelectItem.selected is recalculated based on selectedValues after each search update.

Improves UX in MultiSelectDialog by maintaining correct selection state during real-time filtering.

The existing search implementation rebuilt the item list without reapplying selection flags, causing previously selected items to appear unselected in filtered search results. This commit ensures that MultiSelectItem.selected is recalculated based on selectedValues after each search update.

Improves UX in MultiSelectDialog by maintaining correct selection state during real-time filtering.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant