{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/6615","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/6615/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/6615/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/6615/events","html_url":"https://github.com/driftyco/ionic/issues/6615","id":156183134,"number":6615,"title":"Ionic2 <ion-select> onclick not working.","user":{"login":"AjkP","id":6978905,"avatar_url":"https://avatars.githubusercontent.com/u/6978905?v=3","gravatar_id":"","url":"https://api.github.com/users/AjkP","html_url":"https://github.com/AjkP","followers_url":"https://api.github.com/users/AjkP/followers","following_url":"https://api.github.com/users/AjkP/following{/other_user}","gists_url":"https://api.github.com/users/AjkP/gists{/gist_id}","starred_url":"https://api.github.com/users/AjkP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjkP/subscriptions","organizations_url":"https://api.github.com/users/AjkP/orgs","repos_url":"https://api.github.com/users/AjkP/repos","events_url":"https://api.github.com/users/AjkP/events{/privacy}","received_events_url":"https://api.github.com/users/AjkP/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/alert","name":"alert","color":"fbca04"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/modals","name":"modals","color":"fbca04"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/platform:ios","name":"platform:ios","color":"0052cc"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/select","name":"select","color":"0052cc"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-23T00:51:47Z","updated_at":"2016-05-23T08:03:51Z","closed_at":null,"body":"I tried many things and at the end I even copied the template from the preview app.\r\nhttps://github.com/driftyco/ionic-preview-app/blob/master/app/pages/selects/basic/pages.ts\r\n\r\nBelow the code:\r\nHTML:\r\n```\r\n<ion-content>\r\n  <ion-list>\r\n    <ion-item>\r\n      <ion-label>Gender</ion-label>\r\n      <ion-select [(ngModel)]=\"gender\">\r\n        <ion-option value=\"f\">Female</ion-option>\r\n        <ion-option value=\"m\">Male</ion-option>\r\n      </ion-select>\r\n    </ion-item>\r\n  </ion-list>\r\n</ion-content>\r\n```\r\n\r\nTS:\r\n```\r\n// Page template\r\n@Page({\r\n    templateUrl: 'build/pages/settings/settings.html'\r\n})\r\n\r\nexport class SettingsPage {\r\n    gender: string = \"f\";\r\n}\r\n```\r\n\r\nThe model preset selection (Female) appears, but the selection is not clickable.\r\n\r\nWhen I click on the select widget I do not get the alert modal. I tried it on Chrome, Chrome with Ripple and iPhone 6s plus simulator.\r\n\r\nAttached a screenshot.\r\n<img width=\"206\" alt=\"screen shot 2016-05-22 at 5 50 58 pm\" src=\"https://cloud.githubusercontent.com/assets/6978905/15457814/d6a9477c-2045-11e6-9a08-8bf7b405485e.png\">\r\n\r\n\r\n```\r\n➜  ~  ionic -v\r\n2.0.0-beta.23\r\n```"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/220912619","html_url":"https://github.com/driftyco/ionic/issues/6615#issuecomment-220912619","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/6615","id":220912619,"user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T08:03:50Z","updated_at":"2016-05-23T08:03:50Z","body":"Hello @AjkP! Hmm it seems that your on an older beta of Ionic 2 and an old version of the Ionic@beta cli. Would you mind updating both your Ionic CLI (using npm install -g ionic@beta) and then upgrade your project to the latest version of Ionic 2 using these instructions here: https://github.com/driftyco/ionic/blob/2.0/CHANGELOG.md#angular-update-to-200-rc1 and seeing if you still have the issue? Thanks for using Ionic! "}}
{"actor":{"display_login":"jgw96"}}