summaryrefslogtreecommitdiff
path: root/app/client/common/numberInput.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-04 14:45:35 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-04 14:45:35 +0200
commit7910767b7283e62f03dec5f86e08a796c792080f (patch)
tree9bde717d63fdf3a1caad826022163371a7f810ba /app/client/common/numberInput.component.js
parent25815ab4916dc8c9e3256cbfe53bea0535930f30 (diff)
list checkpoint and epoch
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) {