Skip to content

Commit

Permalink
Fix number param value normlization (#4116)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbena authored Sep 2, 2019
1 parent 4c56900 commit 302c6dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/components/ParameterValueInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class ParameterValueInput extends React.Component {
const { className } = this.props;
const { value } = this.state;

const normalize = val => !isNaN(val) && val || 0;
const normalize = val => (isNaN(val) ? undefined : val);

return (
<InputNumber
Expand Down

0 comments on commit 302c6dd

Please sign in to comment.