I\'m working with the Lookup component and am getting an error that my data object is undefined and thus cannot .filter(). Code is below:
getAllAccounts() {
Answered by @bekos on the Gitter. Need to add binding to component constructor:
constructor(elementRef:ElementRef, private _quickAddService:QuickAddService) { this.visible = true; this.lookup = this.lookup.bind(this); }