-
Notifications
You must be signed in to change notification settings - Fork 102
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
[ViewSettingsDialog]: Selected field to sort is not updated to confirm function #6895
Comments
Hi @lateefsofi I've updated your example to the latest ui5wc/r versions (2.7.0) and fixed the React https://stackblitz.com/edit/github-t4s8sfx4-ba16c6jb?file=package.json,src%2FApp.tsx Also, this issue sounds familiar to what was fixed (included in v2.7.0) with this PR. |
Hi @Lukas742 , |
Hi @lateefsofi I've tested the behavior in our Storybook example and |
Hi @Lukas742 , |
I have observed issue is happening when |
Hi @lateefsofi this has nothing to do with the actual issue, so please open another issue for this as I have asked you before. Also, did you find the time to check the |
Describe the bug
When we try to update sort field in ViewSettingsDialog we see selected field is not sent to the confirm callback rather previously selected item is sent.

This is not happening always, when we try to play around the selection then it happens.
If you see from below screenshot, I selected different sort fields couple of times and clicked Ok button. Notice last selection is "Company" but confirm callback is still providing "name" field
Isolated Example
No response
Reproduction steps
Expected Behaviour
When there is a new selection, new field should be sent to confirm call back.
Screenshots or Videos
UI5 Web Components for React Version
2.4.0
UI5 Web Components Version
2.4.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
Organization
SAP SuccessFactors
Declaration
The text was updated successfully, but these errors were encountered: