15766: Clicking on a property chip copies its text to clipboard
[arvados-workbench2.git] / src / views-components / form-fields / project-form-fields.tsx
index 630877e72f14e5e66729aa07e3b51002d95fbfeb..8243cfe364d45cee3d05fde0b3637a7b13a3838f 100644 (file)
@@ -4,19 +4,19 @@
 
 import * as React from "react";
 import { Field } from "redux-form";
-import { TextField } from "~/components/text-field/text-field";
-import { PROJECT_NAME_VALIDATION, PROJECT_DESCRIPTION_VALIDATION } from "~/validators/validators";
+import { TextField, RichEditorTextField } from "~/components/text-field/text-field";
+import { PROJECT_NAME_VALIDATION } from "~/validators/validators";
 
 export const ProjectNameField = () =>
     <Field
         name='name'
         component={TextField}
         validate={PROJECT_NAME_VALIDATION}
-        label="Project Name" />;
+        label="Project Name"
+        autoFocus={true} />;
 
 export const ProjectDescriptionField = () =>
     <Field
         name='description'
-        component={TextField}
-        validate={PROJECT_DESCRIPTION_VALIDATION}
-        label="Description - optional" />;
\ No newline at end of file
+        component={RichEditorTextField}
+        label="Description - optional" />;