From ead64cdf8d917fa0d6a20271e42378f38e5f2407 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 9 Feb 2021 16:35:48 +0100 Subject: Support custom value in ng-select --- client/src/app/shared/shared-forms/select/select-options.component.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src/app/shared/shared-forms/select/select-options.component.ts') diff --git a/client/src/app/shared/shared-forms/select/select-options.component.ts b/client/src/app/shared/shared-forms/select/select-options.component.ts index f0abd1a68..51a3f515d 100644 --- a/client/src/app/shared/shared-forms/select/select-options.component.ts +++ b/client/src/app/shared/shared-forms/select/select-options.component.ts @@ -27,6 +27,7 @@ export class SelectOptionsComponent implements ControlValueAccessor { @Input() searchable = false @Input() groupBy: string @Input() labelForId: string + @Input() searchFn: any selectedId: number | string -- cgit v1.2.3