AllenFang / AllenFang/react-bootstrap-table
TypeError after clicking tabulator in last editable cell.
Ouverte
in progress
- Langage dominant
- JavaScript
- Étoiles
- 2.2k
- Forks
- 761
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Version 3.4.6.
When I press tabulator at the last editable cell of the table, I get TypeError in handleEditCell function:
```
if (this.props.selectRow.clickToSelectAndEditCell && this.props.cellEdit.mode !== _Const2.default.CELL_EDIT_DBCLICK) {
var selected = this.props.selectedRowKeys.indexOf(this.props.data[rowIndex][this.props.keyField]) !== -1;
this.handleSelectRow(rowIndex + 1, !selected, e);
}
```
where `this.props.data[rowIndex][this.props.keyField]` is undefined. It fails silently if console is not on.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.