Skip to content

Commit 232baf5

Browse files
committed
[CST-4506] Fix bitstream access condition form layout
1 parent 4ca2e9a commit 232baf5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app/submission/sections/upload/file/edit/section-upload-file-edit.model.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const BITSTREAM_ACCESS_CONDITION_GROUP_CONFIG: DynamicFormGroupModelConfi
2828

2929
export const BITSTREAM_ACCESS_CONDITION_GROUP_LAYOUT: DynamicFormControlLayout = {
3030
element: {
31-
host: 'form-group flex-fill access-condition-group',
31+
host: 'form-group access-condition-group col',
3232
container: 'pl-1 pr-1',
3333
control: 'form-row '
3434
}
@@ -47,6 +47,7 @@ export const BITSTREAM_ACCESS_CONDITIONS_FORM_ARRAY_LAYOUT: DynamicFormControlLa
4747
export const BITSTREAM_FORM_ACCESS_CONDITION_TYPE_CONFIG: DynamicSelectModelConfig<any> = {
4848
id: 'name',
4949
label: 'submission.sections.upload.form.access-condition-label',
50+
hint: 'submission.sections.upload.form.access-condition-hint',
5051
options: []
5152
};
5253
export const BITSTREAM_FORM_ACCESS_CONDITION_TYPE_LAYOUT: DynamicFormControlLayout = {
@@ -59,6 +60,7 @@ export const BITSTREAM_FORM_ACCESS_CONDITION_TYPE_LAYOUT: DynamicFormControlLayo
5960
export const BITSTREAM_FORM_ACCESS_CONDITION_START_DATE_CONFIG: DynamicDatePickerModelConfig = {
6061
id: 'startDate',
6162
label: 'submission.sections.upload.form.from-label',
63+
hint: 'submission.sections.upload.form.from-hint',
6264
placeholder: 'submission.sections.upload.form.from-placeholder',
6365
inline: false,
6466
toggleIcon: 'far fa-calendar-alt',
@@ -89,6 +91,7 @@ export const BITSTREAM_FORM_ACCESS_CONDITION_START_DATE_LAYOUT: DynamicFormContr
8991
export const BITSTREAM_FORM_ACCESS_CONDITION_END_DATE_CONFIG: DynamicDatePickerModelConfig = {
9092
id: 'endDate',
9193
label: 'submission.sections.upload.form.until-label',
94+
hint: 'submission.sections.upload.form.until-hint',
9295
placeholder: 'submission.sections.upload.form.until-placeholder',
9396
inline: false,
9497
toggleIcon: 'far fa-calendar-alt',

0 commit comments

Comments
 (0)