From 9bd23db2e118cb2ccb9012f52d1e5fbf2a0e569b Mon Sep 17 00:00:00 2001 From: Dean Date: Mon, 18 Sep 2017 12:51:43 +1000 Subject: [PATCH] Fixed issue with pasting text generates a javascript error --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index b9b16a8..9b91931 100644 --- a/src/index.js +++ b/src/index.js @@ -66,6 +66,7 @@ class MaskedInput extends React.Component { this._onKeyDown = this._onKeyDown.bind(this) this._onPaste = this._onPaste.bind(this) this._onKeyPress = this._onKeyPress.bind(this) + this._updateInputSelection = this._updateInputSelection.bind(this) } componentWillMount() {