Closed piterPro closed 2 years ago
Hi @piterPro
you could programatically reset the state of the selectedRows: codeSandbox
Still, I'm going to forward this issue to our UI5 Web Components Colleagues as the Table is developed in their repository and I'm not sure if the internal selected state should be reset when the table changes mode to "None"
.
Dear @piterPro
We would prefer to leave the behaviour as it is. You can reset the selection as @Lukas742 proposed.
Regards, Martin
Describe the bug When using Table in 'MultiSelect' mode, after selecting items and changing to mode 'None', the items are still visually selected.
Isolated Example https://codesandbox.io/s/cranky-platform-gq4kz
To Reproduce Steps to reproduce the behavior:
Expected behavior Expect after mode change to None all selected items in previous MultiSelect mode to be deselected.
UI5 Web Components for React Information
@ui5/webcomponents
version: rc.15, "@ui5/webcomponents-fiori": "latest" - rc.15,@ui5/webcomponents-react
version: "latest" - 0.18.11, Operating System: Windows 10 Browser: ChromeAdditional context In documentation page behavior is as expected. If you have any suggestion how we can make this happen, let me know Cheers, Petar