[ARVADOS-WORKBENCH2] updated: 1.2.0-702-ga6734b5
Git user
git at public.curoverse.com
Sun Oct 21 16:53:21 EDT 2018
Summary of changes:
src/views/run-process-panel/inputs/float-array-input.tsx | 2 +-
src/views/run-process-panel/inputs/int-array-input.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
via a6734b5062cf6184c4479ce252c503e18bac293e (commit)
from 34e8ef518dd3c4da8f1ad4b099bfbd99c71fa68f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit a6734b5062cf6184c4479ce252c503e18bac293e
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date: Sun Oct 21 22:53:04 2018 +0200
Fix numeric values creation
Feature #13862
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
diff --git a/src/views/run-process-panel/inputs/float-array-input.tsx b/src/views/run-process-panel/inputs/float-array-input.tsx
index 2b6f48c..6e546ec 100644
--- a/src/views/run-process-panel/inputs/float-array-input.tsx
+++ b/src/views/run-process-panel/inputs/float-array-input.tsx
@@ -47,7 +47,7 @@ class InputComponent extends React.PureComponent<GenericInputProps>{
orderable
value={this.props.input.value}
onChange={this.handleChange}
- createNewValue={identity}
+ createNewValue={parseFloat}
inputComponent={FloatInput}
inputProps={{
error: this.props.meta.error,
diff --git a/src/views/run-process-panel/inputs/int-array-input.tsx b/src/views/run-process-panel/inputs/int-array-input.tsx
index a878444..d1c0273 100644
--- a/src/views/run-process-panel/inputs/int-array-input.tsx
+++ b/src/views/run-process-panel/inputs/int-array-input.tsx
@@ -47,7 +47,7 @@ class InputComponent extends React.PureComponent<GenericInputProps>{
orderable
value={this.props.input.value}
onChange={this.handleChange}
- createNewValue={identity}
+ createNewValue={value => parseInt(value, 10)}
inputComponent={IntInput}
inputProps={{
error: this.props.meta.error,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list