AllenFang / AllenFang/react-bootstrap-table
TypeError after clicking tabulator in last editable cell.
Aberta
in progress
- Linguagem predominante
- JavaScript
- Estrelas
- 2.2k
- Forks
- 761
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.