From 5532b9887fc94e23ae3e8d68a7b683db956a2e25 Mon Sep 17 00:00:00 2001 From: jspaine Date: Sat, 15 Jul 2017 10:04:33 +0200 Subject: [PATCH] notify on tab if !blurToSave --- src/TableEditColumn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TableEditColumn.js b/src/TableEditColumn.js index 5488f3a84..2c47661ea 100644 --- a/src/TableEditColumn.js +++ b/src/TableEditColumn.js @@ -29,7 +29,7 @@ class TableEditColumn extends Component { this._getCheckBoxValue(e) : e.currentTarget.value; // TAB triggers blur so no need to notify - const notify = e.keyCode !== 9; + const notify = e.keyCode !== 9 || !this.props.blurToSave; if (!this.validator(value, notify)) { return; }