We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
marmelab
Learn more about funding links in repositories.
Report abuse
2 parents 78e6410 + 116cd46 commit a8ae906Copy full SHA for a8ae906
packages/ra-ui-materialui/src/list/datagrid/DatagridBody.tsx
@@ -45,7 +45,7 @@ const DatagridBody: FC<DatagridBodyProps> = React.forwardRef(
45
hasBulkActions: hasBulkActions && !!selectedIds,
46
hover,
47
id: record.id,
48
- key: record.id,
+ key: record.id ?? `row${rowIndex}`,
49
onToggleItem,
50
record,
51
resource,
0 commit comments