dxc-technology / halstack-react

Library of components for building SPAs with React and Halstack Design System
https://developer.dxc.com/halstack/
Apache License 2.0
15 stars 14 forks source link

Fixed bug with checkboxes in resultset table #1773

Closed Mil4n0r closed 8 months ago

Mil4n0r commented 8 months ago

Checklist

Description Fixes the bug that occurred when trying to change pages after modifying a Checkbox within a Resultset Table component.

Additional context It not also applied to Checkbox but to any updatable component (TextArea, etc.)

The problem happened due to the key value not being calculated properly when iterating through the filteredResultSet (as it was not taking into account the current page index)

Closes #1752