[SF][ViewSettingsDialog]: Sorting by selecting radio buttons is not working in ViewSettingsDialog
Describe the bug
When we click on radio buttons in ViewSettingsDialog and click on ok, the event.detail parameters are not coming correctly for onConfim event and hence sorting does not work.
It works when we click on the text labels next to radio buttons.
Click on radio buttons are working on version v1 as well.
As you can see in the above screenshot, for onConfirm action in detail, the sortBy, sortDescending and sortOrder parameters are not correct
Please note this issue only happens by clicking on radio buttons and not on text.
Isolated Example
https://sap.github.io/ui5-webcomponents-react/v2/?path=/story/modals-popovers-viewsettingsdialog--default
Reproduction steps
1.Go to storybook https://sap.github.io/ui5-webcomponents-react/v2/?path=/story/modals-popovers-viewsettingsdialog--default 2. click on show viewSettingsDialog button 3. click on radio button next to "Descending" and the click on radio button next to "position" 4. click on OK button 5. Observe that in onConfirm action-> detail object the sortBy, sortDescending and sortOrder parameters are not correct ...
Expected Behaviour
Correct parameters should be passed in onConfirm action-> detail object when we click on any radio buttons in sort order or sort by sections in View Settings Dialog
Screenshots or Videos
UI5 Web Components for React Version
2.6.0
UI5 Web Components Version
2.6.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
Organization
SF
Declaration
- [x] I’m not disclosing any internal or sensitive information.
Hi @Ankitadoshi
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.
Hi Colleagues,
the same behavior can be observed in your playground example.
Hello @SAP/ui5-webcomponents-topic-b,
The issue is reproducible as described.
Observe the parameters in the confirm event detail.
The issue is only reproducible if the radio circle is pressed and not the label as pointed out by @Ankitadoshi.
Best regards, Boyan
Hi Team, Any updates on this issue? This is a monthly release issue for us hence the urgency.
Thanks, Ankita
Hi @Lukas742 , @unazko ,
Please expedite this issue. This is a blocker for Successfactors next product release, as there is no vable workaround. We would request to have it fixed and released before Feb 21st, for us to adopt and have it tested before production release.
Thanks Sunil
Hi @sunil-joseph01
We will. I'll get back to you asap.
BR, Vladi
:tada: This issue has been resolved in version v2.7.0 :tada:
The release is available on v2.7.0
Your semantic-release bot :package::rocket: