projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Send new user data to server
[arvados-workbench2.git]
/
src
/
views
/
run-process-panel
/
inputs
/
enum-input.tsx
diff --git
a/src/views/run-process-panel/inputs/enum-input.tsx
b/src/views/run-process-panel/inputs/enum-input.tsx
index 967d8fc5e8525daa437b33c550b2686c917c2fec..86ff6fb14c2e733b21ed792e5e2ef8fb0dd9f64d 100644
(file)
--- a/
src/views/run-process-panel/inputs/enum-input.tsx
+++ b/
src/views/run-process-panel/inputs/enum-input.tsx
@@
-27,7
+27,8
@@
const Input = (props: GenericInputProps) => {
const type = props.commandInput.type as CommandInputEnumSchema;
return <Select
value={props.input.value}
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()}
{type.symbols.map(symbol =>
<MenuItem key={symbol} value={symbol.split('/').pop()}>
{symbol.split('/').pop()}