Skip to content

Commit

Permalink
fix #963
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Jan 23, 2017
1 parent 3510fa5 commit 4e77a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TableEditColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class TableEditColumn extends Component {
let valid = true;
if (ts.props.editable.validator) {
const input = ts.refs.inputRef;
const checkVal = ts.props.editable.validator(value);
const checkVal = ts.props.editable.validator(value, this.props.row);
const responseType = typeof checkVal;
if (responseType !== 'object' && checkVal !== true) {
valid = false;
Expand Down

0 comments on commit 4e77a11

Please sign in to comment.