projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create sharing invitation form
[arvados-workbench2.git]
/
src
/
views-components
/
form-fields
/
project-form-fields.tsx
diff --git
a/src/views-components/form-fields/project-form-fields.tsx
b/src/views-components/form-fields/project-form-fields.tsx
index 630877e72f14e5e66729aa07e3b51002d95fbfeb..8243cfe364d45cee3d05fde0b3637a7b13a3838f 100644
(file)
--- a/
src/views-components/form-fields/project-form-fields.tsx
+++ b/
src/views-components/form-fields/project-form-fields.tsx
@@
-4,19
+4,19
@@
import * as React from "react";
import { Field } from "redux-form";
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}
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'
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" />;