X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/c59db7f1ffae1a16a5458740510e173582e68925..c26c98ff85da6a9ed2b946eae1d3484a3056bd10:/src/views/run-process-panel/inputs/float-input.tsx?ds=sidebyside

diff --git a/src/views/run-process-panel/inputs/float-input.tsx b/src/views/run-process-panel/inputs/float-input.tsx
index 9558fd8d..56a58012 100644
--- a/src/views/run-process-panel/inputs/float-input.tsx
+++ b/src/views/run-process-panel/inputs/float-input.tsx
@@ -28,6 +28,10 @@ const Input = (props: GenericInputProps) =>
         component={InputComponent}
         {...props} />;
 
-const InputComponent = ({ input, meta }: GenericInputProps) =>
-    <FloatInputComponent fullWidth {...input} error={meta.touched && !!meta.error} />;
+const InputComponent = ({ input, meta, commandInput }: GenericInputProps) =>
+    <FloatInputComponent
+        fullWidth
+        error={meta.touched && !!meta.error}
+        disabled={commandInput.disabled}
+        {...input} />;
 
