{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/22525","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/22525/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/22525/comments","events_url":"https://api.github.com/repos/angular/angular/issues/22525/events","html_url":"https://github.com/angular/angular/issues/22525","id":301426129,"number":22525,"title":"radio not checked while it should be","user":{"login":"ddwolf","id":251396,"avatar_url":"https://avatars2.githubusercontent.com/u/251396?v=4","gravatar_id":"","url":"https://api.github.com/users/ddwolf","html_url":"https://github.com/ddwolf","followers_url":"https://api.github.com/users/ddwolf/followers","following_url":"https://api.github.com/users/ddwolf/following{/other_user}","gists_url":"https://api.github.com/users/ddwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/ddwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddwolf/subscriptions","organizations_url":"https://api.github.com/users/ddwolf/orgs","repos_url":"https://api.github.com/users/ddwolf/repos","events_url":"https://api.github.com/users/ddwolf/events{/privacy}","received_events_url":"https://api.github.com/users/ddwolf/received_events","type":"User","site_admin":false},"labels":[{"id":393879365,"url":"https://api.github.com/repos/angular/angular/labels/comp:%20forms","name":"comp: forms","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":{"login":"ddwolf","id":251396,"avatar_url":"https://avatars2.githubusercontent.com/u/251396?v=4","gravatar_id":"","url":"https://api.github.com/users/ddwolf","html_url":"https://github.com/ddwolf","followers_url":"https://api.github.com/users/ddwolf/followers","following_url":"https://api.github.com/users/ddwolf/following{/other_user}","gists_url":"https://api.github.com/users/ddwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/ddwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddwolf/subscriptions","organizations_url":"https://api.github.com/users/ddwolf/orgs","repos_url":"https://api.github.com/users/ddwolf/repos","events_url":"https://api.github.com/users/ddwolf/events{/privacy}","received_events_url":"https://api.github.com/users/ddwolf/received_events","type":"User","site_admin":false},"assignees":[{"login":"ddwolf","id":251396,"avatar_url":"https://avatars2.githubusercontent.com/u/251396?v=4","gravatar_id":"","url":"https://api.github.com/users/ddwolf","html_url":"https://github.com/ddwolf","followers_url":"https://api.github.com/users/ddwolf/followers","following_url":"https://api.github.com/users/ddwolf/following{/other_user}","gists_url":"https://api.github.com/users/ddwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/ddwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddwolf/subscriptions","organizations_url":"https://api.github.com/users/ddwolf/orgs","repos_url":"https://api.github.com/users/ddwolf/repos","events_url":"https://api.github.com/users/ddwolf/events{/privacy}","received_events_url":"https://api.github.com/users/ddwolf/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/83","html_url":"https://github.com/angular/angular/milestone/83","labels_url":"https://api.github.com/repos/angular/angular/milestones/83/labels","id":3143880,"number":83,"title":"needsTriage","description":"Milestone for all issues that haven't been triaged yet","creator":{"login":"ocombe","id":265378,"avatar_url":"https://avatars0.githubusercontent.com/u/265378?v=4","gravatar_id":"","url":"https://api.github.com/users/ocombe","html_url":"https://github.com/ocombe","followers_url":"https://api.github.com/users/ocombe/followers","following_url":"https://api.github.com/users/ocombe/following{/other_user}","gists_url":"https://api.github.com/users/ocombe/gists{/gist_id}","starred_url":"https://api.github.com/users/ocombe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocombe/subscriptions","organizations_url":"https://api.github.com/users/ocombe/orgs","repos_url":"https://api.github.com/users/ocombe/repos","events_url":"https://api.github.com/users/ocombe/events{/privacy}","received_events_url":"https://api.github.com/users/ocombe/received_events","type":"User","site_admin":false},"open_issues":380,"closed_issues":25,"state":"open","created_at":"2018-02-26T14:22:18Z","updated_at":"2018-03-04T13:49:56Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2018-03-01T14:33:27Z","updated_at":"2018-03-05T07:14:29Z","closed_at":"2018-03-03T15:38:18Z","author_association":"NONE","body":"## I'm submitting a...\r\n<!-- Check one of the following options with \"x\" -->\r\n<pre><code>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n</code></pre>\r\n\r\n## Current behavior\r\n<!-- Describe how the issue manifests. -->\r\n\r\n* HERE IS THE CODE\r\n    <input (click)=\"chooseEnv(0)\" [(ngModel)]=\"task.env\" type=\"radio\" name=\"taskType\"\r\n           value=\"0\" id=\"envDebug\" checked>{{task.env}}\r\n\r\nthe task.env is 0 and it's displayed on the page CORRECTLY.\r\n\r\nCHROME console showed this error message, which I dont' know its effect:\r\n\r\nWebSocket connection to 'ws://localhost:4200/sockjs-node/557/ogcxfg3k/websocket' failed: Error during WebSocket handshake: Unexpected response code: 500\r\n\r\n## Expected behavior\r\n<!-- Describe what the desired behavior would be. -->\r\nI expect that the radio input should be checked, but it's not, what may be the reason?\r\n\r\n## Environment\r\n\r\n<pre><code>\r\nAngular version: 5.2.0\r\n<!-- Check whether this is still an issue in the most recent Angular version -->\r\n\r\nBrowser:\r\n- [x] Chrome (desktop) \r\n- [ ] Chrome (Android) version XX\r\n- [ ] Chrome (iOS) version XX\r\n- [ ] Firefox version XX\r\n- [ ] Safari (desktop) version XX\r\n- [ ] Safari (iOS) version XX\r\n- [ ] IE version XX\r\n- [ ] Edge version XX\r\n\r\n</code></pre>"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/370329420","html_url":"https://github.com/angular/angular/issues/22525#issuecomment-370329420","issue_url":"https://api.github.com/repos/angular/angular/issues/22525","id":370329420,"user":{"login":"trotyl","id":6059170,"avatar_url":"https://avatars0.githubusercontent.com/u/6059170?v=4","gravatar_id":"","url":"https://api.github.com/users/trotyl","html_url":"https://github.com/trotyl","followers_url":"https://api.github.com/users/trotyl/followers","following_url":"https://api.github.com/users/trotyl/following{/other_user}","gists_url":"https://api.github.com/users/trotyl/gists{/gist_id}","starred_url":"https://api.github.com/users/trotyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotyl/subscriptions","organizations_url":"https://api.github.com/users/trotyl/orgs","repos_url":"https://api.github.com/users/trotyl/repos","events_url":"https://api.github.com/users/trotyl/events{/privacy}","received_events_url":"https://api.github.com/users/trotyl/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T07:14:29Z","updated_at":"2018-03-05T07:14:29Z","author_association":"CONTRIBUTOR","body":"@ddwolf The `value` property will always be string, that's defined by HTML/DOM, not Angular. You can use `ngValue` for non-string types."}}
{"actor":{"display_login":"trotyl"}}