projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
container uuid column up
[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..60a51b1a2d47d2fecc048f87a9c39e9cc587b030 100644
(file)
--- a/
src/views-components/form-fields/process-form-fields.tsx
+++ b/
src/views-components/form-fields/process-form-fields.tsx
@@
-2,14
+2,21
@@
//
// 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
name='name'
export const ProcessNameField = () =>
<Field
name='name'
- component={TextField}
+ component={TextField
as any
}
validate={PROCESS_NAME_VALIDATION}
label="Process Name" />;
validate={PROCESS_NAME_VALIDATION}
label="Process Name" />;
+
+export const ProcessDescriptionField = () =>
+ <Field
+ name='description'
+ component={TextField as any}
+ validate={PROCESS_DESCRIPTION_VALIDATION}
+ label="Process Description" />;