From 4e77a1182d26aaa51574a0def2ee9b0288e36f49 Mon Sep 17 00:00:00 2001 From: AllenFang Date: Mon, 23 Jan 2017 23:14:56 +0800 Subject: [PATCH] fix #963 --- src/TableEditColumn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TableEditColumn.js b/src/TableEditColumn.js index 1be44f493..1b963f42f 100644 --- a/src/TableEditColumn.js +++ b/src/TableEditColumn.js @@ -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;