diff --git a/client/src/app/+admin/config/edit-custom-config/edit-instance-information.component.html b/client/src/app/+admin/config/edit-custom-config/edit-instance-information.component.html index d96240339..de9df8b56 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-instance-information.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-instance-information.component.html @@ -76,7 +76,7 @@
`, @@ -29,6 +30,7 @@ import { ItemSelectCheckboxValue, SelectCheckboxComponent } from './select-check imports: [ SelectCheckboxComponent, FormsModule ] }) export class SelectCheckboxAllComponent implements ControlValueAccessor { + @Input({ required: true }) labelForId: string @Input() availableItems: SelectOptionsItem[] = [] @Input() allGroupLabel: string diff --git a/client/src/app/shared/shared-forms/select/select-checkbox.component.ts b/client/src/app/shared/shared-forms/select/select-checkbox.component.ts index 7378ba54d..cbc3fcf0a 100644 --- a/client/src/app/shared/shared-forms/select/select-checkbox.component.ts +++ b/client/src/app/shared/shared-forms/select/select-checkbox.component.ts @@ -20,6 +20,7 @@ export type ItemSelectCheckboxValue = { id?: string, group?: string } | string imports: [ NgSelectModule, FormsModule ] }) export class SelectCheckboxComponent implements OnInit, ControlValueAccessor { + @Input({ required: true }) labelForId: string @Input() availableItems: SelectOptionsItem[] = [] @Input() selectedItems: ItemSelectCheckboxValue[] = [] @Input() selectableGroup: boolean diff --git a/client/src/app/shared/shared-forms/select/select-languages.component.html b/client/src/app/shared/shared-forms/select/select-languages.component.html index 6eba26a56..69d57fa4a 100644 --- a/client/src/app/shared/shared-forms/select/select-languages.component.html +++ b/client/src/app/shared/shared-forms/select/select-languages.component.html @@ -5,5 +5,6 @@ [maxItems]="maxLanguages" i18n-placeholder placeholder="Add a new language" [allGroupLabel]="allLanguagesGroup" + [labelForId]="labelForId" > diff --git a/client/src/app/shared/shared-forms/select/select-languages.component.ts b/client/src/app/shared/shared-forms/select/select-languages.component.ts index 47a6aab4c..2d76a1a9f 100644 --- a/client/src/app/shared/shared-forms/select/select-languages.component.ts +++ b/client/src/app/shared/shared-forms/select/select-languages.component.ts @@ -20,6 +20,7 @@ import { SelectCheckboxAllComponent } from './select-checkbox-all.component' imports: [ SelectCheckboxAllComponent, FormsModule ] }) export class SelectLanguagesComponent implements ControlValueAccessor, OnInit { + @Input({ required: true }) labelForId: string @Input() maxLanguages: number selectedLanguages: ItemSelectCheckboxValue[] diff --git a/client/src/app/shared/shared-user-settings/user-video-settings.component.html b/client/src/app/shared/shared-user-settings/user-video-settings.component.html index b3f4e2db0..0a58ff353 100644 --- a/client/src/app/shared/shared-user-settings/user-video-settings.component.html +++ b/client/src/app/shared/shared-user-settings/user-video-settings.component.html @@ -30,7 +30,7 @@
- +
diff --git a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html index 35fbc7e8e..8aa4788f0 100644 --- a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html +++ b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html @@ -80,7 +80,7 @@ - +
@@ -134,7 +134,7 @@
- +