openui5
openui5 copied to clipboard
Issue with rememberSelections in sap.m.TableSelectDialog after Clear and Cancel actions
What is the issue and how can we reproduce it?
Steps to reproduce:
- Open the example in JS - Bin
- Click on the input field value help icon it will open a TableSelectDialog
- Select an item from the dialog — it closes and populates the selected value in the Input field.
- Reopen the dialog, click the Clear button (top-right), then click Cancel button (bottom-right). The input field is correctly cleared since no item was selected before closing.
- However, when we open the dialog again, I see "Selected: 1" in the header, even though we had cleared selection perviously
Property set for TableSelectDialog in xml view:
rememberSelections = true multiSelect=false showClearButton = true growing = true growingThreshold = 30
Error:
Clear button is not working properly. Even on clearing selection it reappears again on reopening the dialog
Expected behavior:
Once we have cleared the selection and closed the dialog then second time we should see no items selected
Which OpenUI5 version is your project targeting?
1.120
Is the issue device- or browser-specific?
No, this is not device or browser specific issue
Confirmation
- [x] I have searched the existing issues and reviewed the relevant documentation as well as the API reference.
- [x] I am not disclosing any internal or sensitive information.
Hello @HellFire03 , Thank you for sharing this finding. I've created an internal incident DINC0488703. The status of the issue will be updated here in GitHub. Regards, Tsanislav