|
@@ -159,7 +159,9 @@ class Stepper extends React.Component<Props, State> {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
handleInputBlur() {
|
|
handleInputBlur() {
|
|
|
- this.commitChange(this.state.inputValue || "");
|
|
|
|
|
|
|
+ if (this.state.inputValue !== null) {
|
|
|
|
|
+ this.commitChange(this.state.inputValue);
|
|
|
|
|
+ }
|
|
|
this.setState({ inputValue: null });
|
|
this.setState({ inputValue: null });
|
|
|
}
|
|
}
|
|
|
|
|
|