Skip to content

Commit

Permalink
Merge pull request #14486 from SoyDiego/fix-type-optionlabel-autocomp…
Browse files Browse the repository at this point in the history
…lete

Fix(AutoComplete): optionLabel input has wrong type
  • Loading branch information
cetincakiroglu authored Jan 10, 2024
2 parents 0f9c670 + 2c6dd73 commit 0d50240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d50240

Please sign in to comment.