diff --git a/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html index c324efd8b..7d4881a77 100644 --- a/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html +++ b/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html @@ -13,6 +13,8 @@ bindLabel="name" [(ngModel)]="field" [placeholder]="placeholderText" + [notFoundText]="notFoundText" + (createNew)="createField($event)" bindValue="id"> -
+
diff --git a/src-ui/src/app/components/common/input/select/select.component.html b/src-ui/src/app/components/common/input/select/select.component.html index 08cbfc9d7..56e256bb4 100644 --- a/src-ui/src/app/components/common/input/select/select.component.html +++ b/src-ui/src/app/components/common/input/select/select.component.html @@ -21,6 +21,7 @@ addTagText="Add item" i18n-addTagText="Used for both types, correspondents, storage paths" [placeholder]="placeholder" + [notFoundText]="notFoundText" [multiple]="multiple" [bindLabel]="bindLabel" bindValue="id" diff --git a/src-ui/src/app/components/common/input/select/select.component.ts b/src-ui/src/app/components/common/input/select/select.component.ts index 437fc60d2..fafedee71 100644 --- a/src-ui/src/app/components/common/input/select/select.component.ts +++ b/src-ui/src/app/components/common/input/select/select.component.ts @@ -88,6 +88,9 @@ export class SelectComponent extends AbstractInputComponent { @Input() showFilter: boolean = false + @Input() + notFoundText: string = $localize`No items found` + @Output() createNew = new EventEmitter()