X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/32f8f97903802e58b48ed307669c236750d8ee3e..b2fcdb2fac8ba49fecca5c30fc56e63b71746cf3:/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 8f55e084..60a51b1a 100644
--- 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
 
-import * as React from "react";
+import React from "react";
 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'
-        component={TextField}
+        component={TextField as any}
         validate={PROCESS_NAME_VALIDATION}
         label="Process Name" />;
+
+export const ProcessDescriptionField = () =>
+    <Field
+        name='description'
+        component={TextField as any}
+        validate={PROCESS_DESCRIPTION_VALIDATION}
+        label="Process Description" />;
