Send new user data to server
[arvados-workbench2.git] / src / views / run-process-panel / inputs / boolean-input.tsx
index e66ec3d7fc493335d12211d897bbce8737aeec11..5da547423bb94155cf825645f52d057ec0c93449 100644 (file)
@@ -28,4 +28,5 @@ const Input = (props: GenericInputProps) =>
     <Switch
         color='primary'
         checked={props.input.value}
-        onChange={() => props.input.onChange(props.input.value)} />;
\ No newline at end of file
+        onChange={() => props.input.onChange(props.input.value)} 
+        disabled={props.commandInput.disabled} />;
\ No newline at end of file