diff --git a/src/app/components/autocomplete/autocomplete.ts b/src/app/components/autocomplete/autocomplete.ts index 02ba2686edb..a294a053117 100755 --- a/src/app/components/autocomplete/autocomplete.ts +++ b/src/app/components/autocomplete/autocomplete.ts @@ -555,7 +555,7 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr * Property name or getter function to use as the label of an option. * @group Props */ - @Input() optionLabel: string | undefined; + @Input() optionLabel: string | ((item: any) => string) | undefined; /** * Unique identifier of the component. * @group Props