We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09472b8 commit e22c6cfCopy full SHA for e22c6cf
src/index.js
@@ -59,6 +59,15 @@ function setSelection(el, selection) {
59
}
60
61
class MaskedInput extends React.Component {
62
+ constructor(props) {
63
+ super(props)
64
+
65
+ this._onChange = this._onChange.bind(this)
66
+ this._onKeyDown = this._onKeyDown.bind(this)
67
+ this._onPaste = this._onPaste.bind(this)
68
+ this._onKeyPress = this._onKeyPress.bind(this)
69
+ }
70
71
componentWillMount() {
72
var options = {
73
pattern: this.props.mask,
0 commit comments