Guest User

Untitled

a guest
Apr 20th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. displayFn(id) {
  2. return this.getValue(id)
  3. }
  4. getValue(id) {
  5. /**return some string
  6. }
  7.  
  8. <mat-autocomplete #autoOutlet="matAutocomplete" [displayWith]="displayFn">
  9. <mat-option *ngFor="let option of outletFilterOptions | async [value]="option.outletId">
  10. {{ option.outletName }}
  11. </mat-option>
  12. </mat-autocomplete>
Add Comment
Please, Sign In to add comment