{"action":"closed","issue":{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/292","repository_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge","labels_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/292/comments","events_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/292/events","html_url":"https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/292","id":180872516,"number":292,"title":"md-select: initial selected value is not selected","user":{"login":"tdamir","id":2204114,"avatar_url":"https://avatars.githubusercontent.com/u/2204114?v=3","gravatar_id":"","url":"https://api.github.com/users/tdamir","html_url":"https://github.com/tdamir","followers_url":"https://api.github.com/users/tdamir/followers","following_url":"https://api.github.com/users/tdamir/following{/other_user}","gists_url":"https://api.github.com/users/tdamir/gists{/gist_id}","starred_url":"https://api.github.com/users/tdamir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdamir/subscriptions","organizations_url":"https://api.github.com/users/tdamir/orgs","repos_url":"https://api.github.com/users/tdamir/repos","events_url":"https://api.github.com/users/tdamir/events{/privacy}","received_events_url":"https://api.github.com/users/tdamir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-10-04T11:53:51Z","updated_at":"2016-10-04T18:36:10Z","closed_at":"2016-10-04T18:36:10Z","body":"This works well on Chrome but on FF, Edge and IE11 the selected option is not selected. If I display the hidden select element, the option is selected.\r\n```\r\n<select md-select=\"label: Label\" value.two-way=\"model.value\">\r\n    <option repeat.for=\"item of model.items\" model.bind=\"item.id\">${item.name}</option>\r\n</select>\r\n```\r\nIf I bind to selected attribute then the selected option will be selected on the first render on all browsers:\r\n```\r\n<select md-select=\"label: Label\" value.two-way=\"model.selectedValue\">\r\n    <option repeat.for=\"item of model.items\" model.bind=\"item.id\" selected.bind=\"item.id == model.selectedValue\">${item.name}</option>\r\n</select>\r\n```"}}
{"actor":{"display_login":"Thanood"}}