Merge branch '14129-inputs-modal-new'
[arvados-workbench2.git] / src / views / run-process-panel / inputs / float-input.tsx
index 9558fd8d2f1ab4c7d09cab418ce3edfb0cd8c5cc..56a58012b260bc2b6492671bc760d12f0479e4eb 100644 (file)
@@ -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} />;