minor fix
This commit is contained in:
parent
eb146b21c7
commit
7daafdae2e
|
@ -58,10 +58,11 @@ export class PrefillDescriptionDialogComponent extends BaseComponent implements
|
|||
this.prefillAutoCompleteConfiguration = {
|
||||
filterFn: this.searchDescriptions.bind(this),
|
||||
loadDataOnStart: false,
|
||||
displayFn: (item) => (item['label'].length > 60) ? (item['label'].substr(0, 60) + "...") : item['label'],
|
||||
titleFn: (item) => item['label'],
|
||||
subtitleFn: (item) => item['id'],
|
||||
valueAssign: (item) => item,
|
||||
displayFn: (item: Prefilling) => (item.label.length > 60) ? (item.label.substr(0, 60) + "...") : item.label,
|
||||
titleFn: (item: Prefilling) => item.label,
|
||||
subtitleFn: (item: Prefilling) => item.id,
|
||||
valueAssign: (item: Prefilling) => item,
|
||||
uniqueAssign: (item: Prefilling) => item.id,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue