small fix
This commit is contained in:
parent
8f3dbe0ccd
commit
d4dcc76391
|
@ -25,7 +25,7 @@ export class DmpContactPrefillDialogComponent extends BaseComponent {
|
|||
singleAutoCompleteDmpAssociatedUserConfiguration: SingleAutoCompleteConfiguration = {
|
||||
initialItems: (data?: any) => this.userService.queryDmpAssociated(this.userService.buildAutocompleteLookup()).pipe(map(x => x.items)),
|
||||
filterFn: (searchQuery: string, data?: any) => this.userService.queryDmpAssociated(this.userService.buildAutocompleteLookup(searchQuery)).pipe(map(x => x.items)),
|
||||
getSelectedItem: (selectedItem: any) => this.userService.queryDmpAssociated(this.userService.buildAutocompleteLookup(null, null, [selectedItem])).pipe(map(x => x.items[0])),
|
||||
getSelectedItem: (selectedItem: any) => this.userService.queryDmpAssociated(this.userService.buildAutocompleteLookup(null, null, [selectedItem.id])).pipe(map(x => x.items[0])),
|
||||
displayFn: (item: DmpAssociatedUser) => item.name,
|
||||
subtitleFn: (item: DmpAssociatedUser) => item.email,
|
||||
titleFn: (item: DmpAssociatedUser) => item.name,
|
||||
|
|
Loading…
Reference in New Issue