Vuestic UI is an open-source Vue 3 component library designed for rapid development, easy maintenance, and high accessibility. Maintained by Epicmax (@epicmaxco).
When you combine data table expandable rows with data table filtering or virtual scrolling, the same expandable row is rendered multiple times because of duplicate keys. The following warning is triggered:
Duplicate keys found during update:"table-row_20"Make sure keys are unique.
at
at <VaInnerLoadingaria-live="polite"style=[object Object]loading=false ...>
at <VaVirtualScrollerclass="va-data-table"style=[object Object]itemSize=0 ...>
at <VaDataTableitems=[object Object],[object Object],[object Object],[object Object],[object Object]columns=[object Object],[object Object],[object Object],[object Object]filter="c">
Reproduction
You can reproduce this in the playground by adding filtering to the provided expandable rows example.
Click to expand the row and then filter it.
Vuestic-ui version: 1.10.3
Description
When you combine data table expandable rows with data table filtering or virtual scrolling, the same expandable row is rendered multiple times because of duplicate keys. The following warning is triggered:
Duplicate keys found during update:"table-row_20"Make sure keys are unique. at
at <VaInnerLoadingaria-live="polite"style=[object Object]loading=false ...>
at <VaVirtualScrollerclass="va-data-table"style=[object Object]itemSize=0 ...>
at <VaDataTableitems=[object Object],[object Object],[object Object],[object Object],[object Object]columns=[object Object],[object Object],[object Object],[object Object]filter="c">
Reproduction
You can reproduce this in the playground by adding filtering to the provided expandable rows example. Click to expand the row and then filter it.