Repository navigation
fix: DataTable bind to data props
Pre-release
Pre-release
- 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.