X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3e2e65e95cf4070e4742ee96ea16cb6c5e841b7a..2c2a877d45ed33ba2c529c6996ccd79b0447a554:/src/views/run-process-panel/inputs/int-input.tsx

diff --git a/src/views/run-process-panel/inputs/int-input.tsx b/src/views/run-process-panel/inputs/int-input.tsx
index 32ebeb75c2..78f0d736d1 100644
--- a/src/views/run-process-panel/inputs/int-input.tsx
+++ b/src/views/run-process-panel/inputs/int-input.tsx
@@ -22,7 +22,7 @@ export const IntInput = ({ input }: IntInputProps) =>
         format={format}
         validate={getValidation(input)} />;
 
-const parse = (value: any) => parseInt(value, 10);
+const parse = (value: any) => value === '' ? '' : parseInt(value, 10);
 
 const format = (value: any) => isNaN(value) ? '' : JSON.stringify(value);
 
