Skip to content

Commit

Permalink
notify on tab if !blurToSave
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaine committed Jul 15, 2017
1 parent ab96032 commit 5532b98
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 @@ -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;
}
Expand Down

0 comments on commit 5532b98

Please sign in to comment.