{"action":"created","issue":{"url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/878","repository_url":"https://api.github.com/repos/valor-software/ng2-bootstrap","labels_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/878/labels{/name}","comments_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/878/comments","events_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/878/events","html_url":"https://github.com/valor-software/ng2-bootstrap/issues/878","id":172490551,"number":878,"title":"Typeahead Async: how to ignore undefined values?","user":{"login":"bogacg","id":5073927,"avatar_url":"https://avatars.githubusercontent.com/u/5073927?v=3","gravatar_id":"","url":"https://api.github.com/users/bogacg","html_url":"https://github.com/bogacg","followers_url":"https://api.github.com/users/bogacg/followers","following_url":"https://api.github.com/users/bogacg/following{/other_user}","gists_url":"https://api.github.com/users/bogacg/gists{/gist_id}","starred_url":"https://api.github.com/users/bogacg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogacg/subscriptions","organizations_url":"https://api.github.com/users/bogacg/orgs","repos_url":"https://api.github.com/users/bogacg/repos","events_url":"https://api.github.com/users/bogacg/events{/privacy}","received_events_url":"https://api.github.com/users/bogacg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"adrianfaciu","id":2067101,"avatar_url":"https://avatars.githubusercontent.com/u/2067101?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianfaciu","html_url":"https://github.com/adrianfaciu","followers_url":"https://api.github.com/users/adrianfaciu/followers","following_url":"https://api.github.com/users/adrianfaciu/following{/other_user}","gists_url":"https://api.github.com/users/adrianfaciu/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianfaciu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianfaciu/subscriptions","organizations_url":"https://api.github.com/users/adrianfaciu/orgs","repos_url":"https://api.github.com/users/adrianfaciu/repos","events_url":"https://api.github.com/users/adrianfaciu/events{/privacy}","received_events_url":"https://api.github.com/users/adrianfaciu/received_events","type":"User","site_admin":false},"assignees":[{"login":"adrianfaciu","id":2067101,"avatar_url":"https://avatars.githubusercontent.com/u/2067101?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianfaciu","html_url":"https://github.com/adrianfaciu","followers_url":"https://api.github.com/users/adrianfaciu/followers","following_url":"https://api.github.com/users/adrianfaciu/following{/other_user}","gists_url":"https://api.github.com/users/adrianfaciu/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianfaciu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianfaciu/subscriptions","organizations_url":"https://api.github.com/users/adrianfaciu/orgs","repos_url":"https://api.github.com/users/adrianfaciu/repos","events_url":"https://api.github.com/users/adrianfaciu/events{/privacy}","received_events_url":"https://api.github.com/users/adrianfaciu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-08-22T16:01:50Z","updated_at":"2016-10-04T18:38:09Z","closed_at":"2016-10-04T18:38:09Z","body":"In example I'm working on, typeahead property is bound to an observable (async pipe) that gets objects from server.\r\n\r\nSome of objects returned don't have property defined for typeaheadOptionField my typeahead bound to and that causes error like:\r\n`Cannot read property 'toLowerCase' of undefined`\r\n\r\nBecause of this error options are not populated.\r\n\r\nIs there a way to ignore returned objects with undefined option field and keep it working for the rest of returned objects.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/comments/251475095","html_url":"https://github.com/valor-software/ng2-bootstrap/issues/878#issuecomment-251475095","issue_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/878","id":251475095,"user":{"login":"adrianfaciu","id":2067101,"avatar_url":"https://avatars.githubusercontent.com/u/2067101?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianfaciu","html_url":"https://github.com/adrianfaciu","followers_url":"https://api.github.com/users/adrianfaciu/followers","following_url":"https://api.github.com/users/adrianfaciu/following{/other_user}","gists_url":"https://api.github.com/users/adrianfaciu/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianfaciu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianfaciu/subscriptions","organizations_url":"https://api.github.com/users/adrianfaciu/orgs","repos_url":"https://api.github.com/users/adrianfaciu/repos","events_url":"https://api.github.com/users/adrianfaciu/events{/privacy}","received_events_url":"https://api.github.com/users/adrianfaciu/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T18:38:09Z","updated_at":"2016-10-04T18:38:09Z","body":"This works fine in the latest release."}}
{"actor":{"display_login":"adrianfaciu"}}