Skip to content

Commit

Permalink
fix #309
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Mar 4, 2016
1 parent 881cb13 commit 207dbf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TableBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class TableBody extends React.Component{

renderSelectRowColumn(selected){
if(this.props.selectRow.mode == Const.ROW_SELECT_SINGLE) {
return (<TableColumn><input type="radio" name="selection" checked={selected} onChange={this.handleSelectRowColumChange.bind(this)}/></TableColumn>);
return (<TableColumn><input type="radio" checked={selected} onChange={this.handleSelectRowColumChange.bind(this)}/></TableColumn>);
}else {
return (<TableColumn ><input type="checkbox" checked={selected} onChange={this.handleSelectRowColumChange.bind(this)}/></TableColumn>);
}
Expand Down

0 comments on commit 207dbf2

Please sign in to comment.