Skip to content

fix: DataTable bind to data props

Pre-release
Pre-release

Choose a tag to compare

@Vector6662 Vector6662 released this 19 Oct 02:23
0290c85
  • DataTable stored selected row objects as snapshots in checkedRows. After a parent refresh, the data prop changed but checkedRows still held stale references, causing dialogs to show old values (SAP/cloud-integration-delivery-orchestrator-ui#12).

Change checkedRows from a data property to a computed that derives from checkedRowKeysRef and the current data prop so it always reflects the latest data.