diff options
-rw-r--r-- | packages/forms/src/input/index.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/forms/src/input/index.tsx b/packages/forms/src/input/index.tsx index de7e7848e..891ae3b59 100644 --- a/packages/forms/src/input/index.tsx +++ b/packages/forms/src/input/index.tsx | |||
@@ -37,6 +37,7 @@ class InputComponent extends Component<IProps, IState> { | |||
37 | focus: false, | 37 | focus: false, |
38 | onChange: () => {}, | 38 | onChange: () => {}, |
39 | onBlur: () => {}, | 39 | onBlur: () => {}, |
40 | onFocus: () => {}, | ||
40 | scorePassword: false, | 41 | scorePassword: false, |
41 | showLabel: true, | 42 | showLabel: true, |
42 | showPasswordToggle: false, | 43 | showPasswordToggle: false, |
@@ -100,6 +101,7 @@ class InputComponent extends Component<IProps, IState> { | |||
100 | placeholder, | 101 | placeholder, |
101 | spellCheck, | 102 | spellCheck, |
102 | onBlur, | 103 | onBlur, |
104 | onFocus, | ||
103 | } = this.props; | 105 | } = this.props; |
104 | 106 | ||
105 | const { | 107 | const { |
@@ -142,6 +144,7 @@ class InputComponent extends Component<IProps, IState> { | |||
142 | className={classes.input} | 144 | className={classes.input} |
143 | ref={this.inputRef} | 145 | ref={this.inputRef} |
144 | onChange={this.onChange.bind(this)} | 146 | onChange={this.onChange.bind(this)} |
147 | onFocus={onFocus} | ||
145 | onBlur={onBlur} | 148 | onBlur={onBlur} |
146 | disabled={disabled} | 149 | disabled={disabled} |
147 | /> | 150 | /> |