diff --git a/src/index.js b/src/index.js index cb5d00d..b9b16a8 100644 --- a/src/index.js +++ b/src/index.js @@ -67,7 +67,7 @@ class MaskedInput extends React.Component { this._onPaste = this._onPaste.bind(this) this._onKeyPress = this._onKeyPress.bind(this) } - + componentWillMount() { var options = { pattern: this.props.mask,