Fixed: Additional UI number input fixes

This commit is contained in:
Qstick
2018-01-26 22:00:32 -05:00
parent 8cb8059b2f
commit b5339b75ff
3 changed files with 29 additions and 14 deletions
+4 -1
View File
@@ -122,7 +122,8 @@ class TextInput extends Component {
value,
hasError,
hasWarning,
hasButton
hasButton,
onBlur
} = this.props;
return (
@@ -143,6 +144,7 @@ class TextInput extends Component {
value={value}
onChange={this.onChange}
onFocus={this.onFocus}
onBlur={onBlur}
onKeyUp={this.onKeyUp}
onMouseDown={this.onMouseDown}
onMouseUp={this.onMouseUp}
@@ -164,6 +166,7 @@ TextInput.propTypes = {
hasButton: PropTypes.bool,
onChange: PropTypes.func.isRequired,
onFocus: PropTypes.func,
onBlur: PropTypes.func,
onSelectionChange: PropTypes.func
};