projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17782: Fixes almost all tests (4 left) mostly by fixing namespace-type imports.
[arvados-workbench2.git]
/
src
/
views-components
/
form-fields
/
process-form-fields.tsx
diff --git
a/src/views-components/form-fields/process-form-fields.tsx
b/src/views-components/form-fields/process-form-fields.tsx
index 8f55e08456258fa3a0f87f259cfd8afa66e8c5d5..d70413f6433f5e0c0b287f1af8346f12e1fcbba7 100644
(file)
--- a/
src/views-components/form-fields/process-form-fields.tsx
+++ b/
src/views-components/form-fields/process-form-fields.tsx
@@
-2,10
+2,10
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import
* as
React from "react";
+import React from "react";
import { Field } from "redux-form";
import { Field } from "redux-form";
-import { TextField } from "
~/
components/text-field/text-field";
-import { PROCESS_NAME_VALIDATION
} from "~/
validators/validators";
+import { TextField } from "components/text-field/text-field";
+import { PROCESS_NAME_VALIDATION
, PROCESS_DESCRIPTION_VALIDATION } from "
validators/validators";
export const ProcessNameField = () =>
<Field
export const ProcessNameField = () =>
<Field
@@
-13,3
+13,10
@@
export const ProcessNameField = () =>
component={TextField}
validate={PROCESS_NAME_VALIDATION}
label="Process Name" />;
component={TextField}
validate={PROCESS_NAME_VALIDATION}
label="Process Name" />;
+
+export const ProcessDescriptionField = () =>
+ <Field
+ name='description'
+ component={TextField}
+ validate={PROCESS_DESCRIPTION_VALIDATION}
+ label="Process Description" />;