From a0df132a6b108c9b4b5cefcab36d47ed3493c195 Mon Sep 17 00:00:00 2001 From: argirok Date: Wed, 11 May 2022 10:17:06 +0300 Subject: [PATCH] Input: for get labels use optionsArray instead of filtered options --- sharedComponents/input/input.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharedComponents/input/input.component.ts b/sharedComponents/input/input.component.ts index 60f56a01..9b5d8609 100644 --- a/sharedComponents/input/input.component.ts +++ b/sharedComponents/input/input.component.ts @@ -463,7 +463,7 @@ export class InputComponent implements OnInit, OnDestroy, AfterViewInit, OnChang } getLabel(value: any) { - let option = this.filteredOptions.find(option => HelperFunctions.equals(option.value, value)); + let option = this.optionsArray.find(option => HelperFunctions.equals(option.value, value)); return (option) ? option.label : (value); }