Skip to content

Commit

Permalink
Merge pull request mbrn#2268 from dccxi/master
Browse files Browse the repository at this point in the history
Add key prop for EditCell component in MTableBodyRow
  • Loading branch information
mbrn authored Aug 4, 2020
2 parents 80ca123 + 3639052 commit cd88df3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/m-table-body-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ export default class MTableBodyRow extends React.Component {
localization={this.props.localization}
columnDef={columnDef}
size={size}
key={
"cell-" +
this.props.data.tableData.id +
"-" +
columnDef.tableData.id
}
rowData={this.props.data}
cellEditable={this.props.cellEditable}
onCellEditFinished={this.props.onCellEditFinished}
Expand Down

0 comments on commit cd88df3

Please sign in to comment.