projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge master
[arvados-workbench2.git]
/
src
/
views-components
/
form-fields
/
collection-form-fields.tsx
diff --git
a/src/views-components/form-fields/collection-form-fields.tsx
b/src/views-components/form-fields/collection-form-fields.tsx
index af240fc5666c1735bf4938ade1b0bffe3ad358fe..be5f93df6a52b401177f0fa12f27594e46abe2c4 100644
(file)
--- a/
src/views-components/form-fields/collection-form-fields.tsx
+++ b/
src/views-components/form-fields/collection-form-fields.tsx
@@
-13,7
+13,8
@@
export const CollectionNameField = () =>
name='name'
component={TextField}
validate={COLLECTION_NAME_VALIDATION}
name='name'
component={TextField}
validate={COLLECTION_NAME_VALIDATION}
- label="Collection Name" />;
+ label="Collection Name"
+ autoFocus={true} />;
export const CollectionDescriptionField = () =>
<Field
export const CollectionDescriptionField = () =>
<Field
@@
-29,6
+30,6
@@
export const CollectionProjectPickerField = () =>
validate={COLLECTION_PROJECT_VALIDATION} />;
const ProjectPicker = (props: WrappedFieldProps) =>
validate={COLLECTION_PROJECT_VALIDATION} />;
const ProjectPicker = (props: WrappedFieldProps) =>
- <div style={{
width: '400px',
height: '144px', display: 'flex', flexDirection: 'column' }}>
+ <div style={{ height: '144px', display: 'flex', flexDirection: 'column' }}>
<ProjectTreePicker onChange={projectUuid => props.input.onChange(projectUuid)} />
</div>;
<ProjectTreePicker onChange={projectUuid => props.input.onChange(projectUuid)} />
</div>;