Skip to content

Issue with rememberSelections in sap.m.TableSelectDialog after Clear and Cancel actions #4268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
HellFire03 opened this issue Apr 25, 2025 · 0 comments
Open
2 tasks done

Comments

@HellFire03
Copy link

What is the issue and how can we reproduce it?

Steps to reproduce:

  1. Open the example in JS - Bin
  2. Click on the input field value help icon it will open a TableSelectDialog
  3. Select an item from the dialog — it closes and populates the selected value in the Input field.
  4. 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.
  5. 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

  • I have searched the existing issues and reviewed the relevant documentation as well as the API reference.
  • I am not disclosing any internal or sensitive information.
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

No branches or pull requests

1 participant