Skip to content

Commit

Permalink
Fixed #314
Browse files Browse the repository at this point in the history
  • Loading branch information
Merve7 committed Feb 27, 2018
1 parent a549c65 commit a7df47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/spinner/Spinner.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class Spinner extends Component {

onInputKeyUp(event) {
let inputValue = event.target.value;
if (event.key === this.props.decimalSeparator || event.key === this.props === this.props.thousandSeparator)
if (event.key === this.props.decimalSeparator && event.key !== this.thousandSeparator)
this.value = inputValue;
else
this.value = this.parseValue(inputValue);
Expand Down

0 comments on commit a7df47e

Please sign in to comment.