{"action":"opened","issue":{"url":"https://api.github.com/repos/bithost-gmbh/ngx-mat-select-search/issues/53","repository_url":"https://api.github.com/repos/bithost-gmbh/ngx-mat-select-search","labels_url":"https://api.github.com/repos/bithost-gmbh/ngx-mat-select-search/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/bithost-gmbh/ngx-mat-select-search/issues/53/comments","events_url":"https://api.github.com/repos/bithost-gmbh/ngx-mat-select-search/issues/53/events","html_url":"https://github.com/bithost-gmbh/ngx-mat-select-search/issues/53","id":355630420,"node_id":"MDU6SXNzdWUzNTU2MzA0MjA=","number":53,"title":"when placed ngIf on ngx-mat-select-search error","user":{"login":"rhyre","id":6844065,"node_id":"MDQ6VXNlcjY4NDQwNjU=","avatar_url":"https://avatars3.githubusercontent.com/u/6844065?v=4","gravatar_id":"","url":"https://api.github.com/users/rhyre","html_url":"https://github.com/rhyre","followers_url":"https://api.github.com/users/rhyre/followers","following_url":"https://api.github.com/users/rhyre/following{/other_user}","gists_url":"https://api.github.com/users/rhyre/gists{/gist_id}","starred_url":"https://api.github.com/users/rhyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhyre/subscriptions","organizations_url":"https://api.github.com/users/rhyre/orgs","repos_url":"https://api.github.com/users/rhyre/repos","events_url":"https://api.github.com/users/rhyre/events{/privacy}","received_events_url":"https://api.github.com/users/rhyre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-30T15:10:55Z","updated_at":"2018-08-30T15:10:55Z","closed_at":null,"author_association":"NONE","body":"When using ngIf to hide search, I've got following error.\r\nversion of angular: Angular6-latest\r\nngx-select: latest\r\n\r\nTRACEBACK:\r\n```\r\nTableFiltersComponent.html:18 ERROR TypeError: Cannot read property 'changes' of undefined\r\n    at MatSelectSearchComponent.push../node_modules/ngx-mat-select-search/esm5/ngx-mat-select-search.js.MatSelectSearchComponent.ngAfterViewInit (ngx-mat-select-search.js:97)\r\n    at callProviderLifecycles (core.js:9567)\r\n    at callElementProvidersLifecycles (core.js:9541)\r\n    at callLifecycleHooksChildrenFirst (core.js:9531)\r\n    at checkAndUpdateView (core.js:10467)\r\n    at callViewAction (core.js:10699)\r\n    at execEmbeddedViewsAction (core.js:10662)\r\n    at checkAndUpdateView (core.js:10459)\r\n    at callViewAction (core.js:10699)\r\n    at execEmbeddedViewsAction (core.js:10662)\r\nView_TableFiltersComponent_7 @ TableFiltersComponent.html:18\r\npush../node_modules/@angular/core/fesm5/core.js.DebugContext_.logError @ core.js:11313\r\npush../node_modules/@angular/core/fesm5/core.js.ErrorHandler.handleError @ core.js:1719\r\n(anonymous) @ core.js:4588\r\npush../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:388\r\npush../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:138\r\npush../node_modules/@angular/core/fesm5/core.js.NgZone.runOutsideAngular @ core.js:3783\r\npush../node_modules/@angular/core/fesm5/core.js.ApplicationRef.tick @ core.js:4588\r\n(anonymous) @ core.js:4473\r\npush../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:388\r\nonInvoke @ core.js:3824\r\npush../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:387\r\npush../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:138\r\npush../node_modules/@angular/core/fesm5/core.js.NgZone.run @ core.js:3738\r\nnext @ core.js:4473\r\nschedulerFn @ core.js:3555\r\npush../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub @ Subscriber.js:195\r\npush../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next @ Subscriber.js:133\r\npush../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next @ Subscriber.js:77\r\npush../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:54\r\npush../node_modules/rxjs/_esm5/internal/Subject.js.Subject.next @ Subject.js:47\r\npush../node_modules/@angular/core/fesm5/core.js.EventEmitter.emit @ core.js:3539\r\ncheckStable @ core.js:3793\r\nonLeave @ core.js:3860\r\nonInvokeTask @ core.js:3818\r\npush../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:420\r\npush../node_modules/zone.js/dist/zone.js.Zone.runTask @ zone.js:188\r\npush../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask @ zone.js:496\r\ninvokeTask @ zone.js:1540\r\nglobalZoneAwareCallback @ zone.js:1566\r\nTableFiltersComponent.html:18 ERROR CONTEXT DebugContext_ {view: {…}, nodeIndex: 2, nodeDef: {…}, elDef: {…}, elView: {…}}\r\n```"}}
{"actor":{"display_login":"rhyre"}}