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 and arikfr committed Oct 27, 2019
1 parent cc21a32 commit 10b57b6
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 10b57b6

Please sign in to comment.