{"action":"created","issue":{"url":"https://api.github.com/repos/samuelnygaard/ng2-timezone-selector/issues/3","repository_url":"https://api.github.com/repos/samuelnygaard/ng2-timezone-selector","labels_url":"https://api.github.com/repos/samuelnygaard/ng2-timezone-selector/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/samuelnygaard/ng2-timezone-selector/issues/3/comments","events_url":"https://api.github.com/repos/samuelnygaard/ng2-timezone-selector/issues/3/events","html_url":"https://github.com/samuelnygaard/ng2-timezone-selector/issues/3","id":293903095,"number":3,"title":"selectElement.select2 is not a function","user":{"login":"justinasit","id":8605360,"avatar_url":"https://avatars1.githubusercontent.com/u/8605360?v=4","gravatar_id":"","url":"https://api.github.com/users/justinasit","html_url":"https://github.com/justinasit","followers_url":"https://api.github.com/users/justinasit/followers","following_url":"https://api.github.com/users/justinasit/following{/other_user}","gists_url":"https://api.github.com/users/justinasit/gists{/gist_id}","starred_url":"https://api.github.com/users/justinasit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinasit/subscriptions","organizations_url":"https://api.github.com/users/justinasit/orgs","repos_url":"https://api.github.com/users/justinasit/repos","events_url":"https://api.github.com/users/justinasit/events{/privacy}","received_events_url":"https://api.github.com/users/justinasit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-02T14:19:53Z","updated_at":"2018-02-02T16:52:57Z","closed_at":null,"author_association":"NONE","body":"Hi Samuel,\r\n\r\nI followed the installation instructions, but I keep getting this error:\r\n```\r\nselectElement.select2 is not a function\r\n  at TimezonePickerComponent.ngAfterViewInit\r\n```\r\nYou mentioned that the only file needed for the timezone selector to work is the select2 CSS file, which I imported. But it looks like this plugin has trouble finding the select2 function.\r\n\r\nI'm using Angular 5 and I installed the select2 npm library to node_modules.\r\n\r\nPlease tell me if there's something I'm missing.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/samuelnygaard/ng2-timezone-selector/issues/comments/362641216","html_url":"https://github.com/samuelnygaard/ng2-timezone-selector/issues/3#issuecomment-362641216","issue_url":"https://api.github.com/repos/samuelnygaard/ng2-timezone-selector/issues/3","id":362641216,"user":{"login":"justinasit","id":8605360,"avatar_url":"https://avatars1.githubusercontent.com/u/8605360?v=4","gravatar_id":"","url":"https://api.github.com/users/justinasit","html_url":"https://github.com/justinasit","followers_url":"https://api.github.com/users/justinasit/followers","following_url":"https://api.github.com/users/justinasit/following{/other_user}","gists_url":"https://api.github.com/users/justinasit/gists{/gist_id}","starred_url":"https://api.github.com/users/justinasit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinasit/subscriptions","organizations_url":"https://api.github.com/users/justinasit/orgs","repos_url":"https://api.github.com/users/justinasit/repos","events_url":"https://api.github.com/users/justinasit/events{/privacy}","received_events_url":"https://api.github.com/users/justinasit/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T16:52:57Z","updated_at":"2018-02-02T16:52:57Z","author_association":"NONE","body":"Thanks for the quick reply.\r\n\r\nThe select2 folder isn't there despite re-running npm install.\r\n\r\nI'm using the latest version of ng2-timezone-selector, I simply ran the `npm install ng2-timezone-selector --save` command as instructed."}}
{"actor":{"display_login":"justinasit"}}