summaryrefslogtreecommitdiff
path: root/app/client/common/numberInput.component.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/common/numberInput.component.js')
-rw-r--r--app/client/common/numberInput.component.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/common/numberInput.component.js b/app/client/common/numberInput.component.js
index c3ad24c..43f9878 100644
--- a/app/client/common/numberInput.component.js
+++ b/app/client/common/numberInput.component.js
@@ -13,6 +13,7 @@ class NumberInput extends Component {
changed: true,
})
this.props.onInput && this.props.onInput(e.target.value, e.target.name)
+ this.props.onChange && this.props.onInput(e.target.name, e.target.value)
}
handleKeydown(e){
if (e.keyCode === 13) {