{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/6076","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/6076/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/6076/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/6076/events","html_url":"https://github.com/driftyco/ionic/issues/6076","id":146694296,"number":6076,"title":"ion-option: value is take from inner html and not from [value]","user":{"login":"royipressburger","id":9999184,"avatar_url":"https://avatars.githubusercontent.com/u/9999184?v=3","gravatar_id":"","url":"https://api.github.com/users/royipressburger","html_url":"https://github.com/royipressburger","followers_url":"https://api.github.com/users/royipressburger/followers","following_url":"https://api.github.com/users/royipressburger/following{/other_user}","gists_url":"https://api.github.com/users/royipressburger/gists{/gist_id}","starred_url":"https://api.github.com/users/royipressburger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/royipressburger/subscriptions","organizations_url":"https://api.github.com/users/royipressburger/orgs","repos_url":"https://api.github.com/users/royipressburger/repos","events_url":"https://api.github.com/users/royipressburger/events{/privacy}","received_events_url":"https://api.github.com/users/royipressburger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-07T17:36:08Z","updated_at":"2016-04-08T13:23:59Z","closed_at":null,"body":"**Note: for support questions, please use one of these channels:** \r\n\r\nhttps://forum.ionicframework.com/\r\nhttp://ionicworldwide.herokuapp.com/\r\n\r\n\r\n#### Short description of the problem:\r\nIt looks like the value for `ion-option` is take from the inner html and not from the `[value]` property.\r\n\r\n#### What behavior are you expecting?\r\nwas expecting the values to be taken from the value property\r\n\r\n**Steps to reproduce:**\r\nThis is a try to make a placeholder for option\r\n1.\r\ntake this html snipet \r\n```html\r\n        <ion-select>\r\n          <ion-option [value]=\"\" [checked]=\"true\">select gender</ion-option >\r\n\r\n          <ion-option [value]=\"Male\">Male</ion-option >\r\n          <ion-option [value]=\"Female\">Female</ion-option >\r\n        </ion-select>\r\n```\r\n2.  You will see that when selecting you get all the 3 options\r\n3. I want to be able to set a placeholder for option if none of them is selected\r\n**Other information:** (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)\r\n \r\n\r\n**Which Ionic Version?** 1.x or 2.x\r\n2.x\r\n\r\n#### Plunker that shows an example of your issue\r\nhttp://plnkr.co/edit/qfVTqY8T9JRU94OzBglK?p=preview\r\n\r\n**Run `ionic info` from terminal/cmd prompt:** (paste output below)\r\nCordova CLI: 6.0.0\r\nGulp version:  CLI version 3.9.0\r\nGulp local:   Local version 3.9.1\r\nIonic Version: 2.0.0-beta.3\r\nIonic CLI Version: 2.0.0-beta.22\r\nIonic App Lib Version: 2.0.0-beta.12\r\nOS: Distributor ID:\tUbuntu Description:\tUbuntu 14.04.4 LTS \r\nNode Version: v5.9.0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/207431195","html_url":"https://github.com/driftyco/ionic/issues/6076#issuecomment-207431195","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/6076","id":207431195,"user":{"login":"iignatov","id":820242,"avatar_url":"https://avatars.githubusercontent.com/u/820242?v=3","gravatar_id":"","url":"https://api.github.com/users/iignatov","html_url":"https://github.com/iignatov","followers_url":"https://api.github.com/users/iignatov/followers","following_url":"https://api.github.com/users/iignatov/following{/other_user}","gists_url":"https://api.github.com/users/iignatov/gists{/gist_id}","starred_url":"https://api.github.com/users/iignatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iignatov/subscriptions","organizations_url":"https://api.github.com/users/iignatov/orgs","repos_url":"https://api.github.com/users/iignatov/repos","events_url":"https://api.github.com/users/iignatov/events{/privacy}","received_events_url":"https://api.github.com/users/iignatov/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T13:23:59Z","updated_at":"2016-04-08T13:23:59Z","body":"@royipressburger Could you please provide more details on what exactly are you trying to achieve?\r\n\r\nI noticed some errors in the plunker example that you provided.\r\n\r\nHere is an updated plunker - check it to see if it's working as you want it to:\r\nhttp://plnkr.co/edit/G8XtyLTaHgLnhglJ3R82?p=preview"}}