From: Daniel Kos Date: Thu, 13 Sep 2018 06:15:22 +0000 (+0200) Subject: Add project name autofocus X-Git-Tag: 1.3.0~90^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/84e8b0117dcbc0a500c4aac3310a959020c81b91?hp=-c Add project name autofocus Feature #14161 Arvados-DCO-1.1-Signed-off-by: Daniel Kos --- 84e8b0117dcbc0a500c4aac3310a959020c81b91 diff --git a/src/views-components/form-fields/project-form-fields.tsx b/src/views-components/form-fields/project-form-fields.tsx index 630877e7..6446c763 100644 --- a/src/views-components/form-fields/project-form-fields.tsx +++ b/src/views-components/form-fields/project-form-fields.tsx @@ -12,11 +12,12 @@ export const ProjectNameField = () => name='name' component={TextField} validate={PROJECT_NAME_VALIDATION} - label="Project Name" />; + label="Project Name" + autoFocus={true} />; export const ProjectDescriptionField = () => ; \ No newline at end of file + label="Description - optional" />;