Input: for get labels use optionsArray instead of filtered options
This commit is contained in:
parent
0067239cb6
commit
a0df132a6b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue