Send new user data to server
[arvados-workbench2.git] / src / views / run-process-panel / inputs / enum-input.tsx
index 967d8fc5e8525daa437b33c550b2686c917c2fec..86ff6fb14c2e733b21ed792e5e2ef8fb0dd9f64d 100644 (file)
@@ -27,7 +27,8 @@ const Input = (props: GenericInputProps) => {
     const type = props.commandInput.type as CommandInputEnumSchema;
     return <Select
         value={props.input.value}
-        onChange={props.input.onChange}>
+        onChange={props.input.onChange}
+        disabled={props.commandInput.disabled} >
         {type.symbols.map(symbol =>
             <MenuItem key={symbol} value={symbol.split('/').pop()}>
                 {symbol.split('/').pop()}