SAP / ui5-webcomponents-react

A wrapper implementation for React of the UI5 Web Components that are compliant with the SAP Fiori User Experience
https://sap.github.io/ui5-webcomponents-react/
Apache License 2.0
426 stars 94 forks source link

[Charts]: Issues with multiple measure accessors as getters #5774

Closed allen138 closed 2 months ago

allen138 commented 2 months ago

Describe the bug

Hi team,

We found if we generate the measures array with an Array.map() then it will not render all the measures. A simple hack solution is in the loop override the .toString() function of the accessor to be unique. Current Behavior: image

Expected: image

Please see isolated example below.

Thanks!

Isolated Example

https://stackblitz.com/edit/github-ybgbgx?file=src%2FApp.tsx

Reproduction steps

  1. Open the stackblitz
  2. test by commenting and uncommenting line 112 ...

Expected Behaviour

No response

Screenshots or Videos

No response

UI5 Web Components for React Version

main

UI5 Web Components Version

main

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

SF

Declaration

ui5-webcomponents-react-bot commented 1 month ago

:tada: This issue has been resolved in version v1.28.2 :tada:

The release is available on v1.28.2

Your semantic-release bot :package::rocket: