Repository navigation
fix: update selectedItems when updating items - #4016
Conversation
|
Kudos, SonarCloud Quality Gate passed!
|
|
Hmm...I wonder if this is expected |
|
I mean at least in grid, you could mark certain items as selected even before populating the items. Once the selected items get included in items, they just show as selected. |
|
Good point, I did not consider the grid behavior. Maybe we should revert this PR then? |
|
Also with the following case |
This reverts commit 0064ec4.
|
Sounds good to me. Submitted a PR to revert this, sorry about the hassle #4018 |








Description
Currently, when updating
itemsproperty to empty array, or changing it, theselectedItemsis not updated.This PR changes that to filter out the items that are removed and exclude them from
selectedItems.Type of change