projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15672: Fixes a couple tests.
[arvados-workbench2.git]
/
src
/
views
/
run-process-panel
/
inputs
/
string-array-input.tsx
diff --git
a/src/views/run-process-panel/inputs/string-array-input.tsx
b/src/views/run-process-panel/inputs/string-array-input.tsx
index da03f2966149ebe4abd7be9d85588e71b62f8ab5..e560b33778fc7cf0f99a76e0461bf8858192e26a 100644
(file)
--- a/
src/views/run-process-panel/inputs/string-array-input.tsx
+++ b/
src/views/run-process-panel/inputs/string-array-input.tsx
@@
-42,15
+42,17
@@
const StringArrayInputComponent = (props: GenericInputProps) =>
class InputComponent extends React.PureComponent<GenericInputProps>{
render() {
class InputComponent extends React.PureComponent<GenericInputProps>{
render() {
+ const { commandInput, input, meta } = this.props;
return <ChipsInput
return <ChipsInput
- deletable
- orderable
- value={this.props.input.value}
+ deletable={!commandInput.disabled}
+ orderable={!commandInput.disabled}
+ disabled={commandInput.disabled}
+ value={input.value}
onChange={this.handleChange}
createNewValue={identity}
inputComponent={Input}
inputProps={{
onChange={this.handleChange}
createNewValue={identity}
inputComponent={Input}
inputProps={{
- error:
this.props.meta.error,
+ error:
meta.error
}} />;
}
}} />;
}