ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[SF][ViewSettingsDialog]: Sorting by selecting radio buttons is not working in ViewSettingsDialog

Open Ankitadoshi opened this issue 1 year ago • 6 comments

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. Image 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

Image

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.

Ankitadoshi avatar Jan 10 '25 10:01 Ankitadoshi

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.

Lukas742 avatar Jan 10 '25 11:01 Lukas742

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

unazko avatar Jan 10 '25 12:01 unazko

Hi Team, Any updates on this issue? This is a monthly release issue for us hence the urgency.

Thanks, Ankita

Ankitadoshi avatar Jan 23 '25 04:01 Ankitadoshi

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

sunil-joseph01 avatar Jan 29 '25 11:01 sunil-joseph01

Hi @sunil-joseph01

We will. I'll get back to you asap.

BR, Vladi

vladitasev avatar Jan 29 '25 14:01 vladitasev

: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:

ui5-webcomponents-bot avatar Feb 03 '25 13:02 ui5-webcomponents-bot