Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Jan 17, 2017
1 parent c207427 commit 7e140ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default {
onChange(e) {
const input = this.getValueFromEvent(e).trim();
this.setState({ inputValue: input });
this.props.onChange(this.toNumber(input)); // valid number or invali string
this.props.onChange(this.toNumber(input)); // valid number or invalid string
},

onFocus(...args) {
Expand Down

0 comments on commit 7e140ed

Please sign in to comment.