{"action":"closed","number":6281,"pull_request":{"url":"https://api.github.com/repos/angular/material/pulls/6281","id":53520973,"html_url":"https://github.com/angular/material/pull/6281","diff_url":"https://github.com/angular/material/pull/6281.diff","patch_url":"https://github.com/angular/material/pull/6281.patch","issue_url":"https://api.github.com/repos/angular/material/issues/6281","number":6281,"state":"closed","locked":false,"title":"selectedIndex for radio-group starts at 1, not 0","user":{"login":"jsayol","id":2029586,"avatar_url":"https://avatars.githubusercontent.com/u/2029586?v=3","gravatar_id":"","url":"https://api.github.com/users/jsayol","html_url":"https://github.com/jsayol","followers_url":"https://api.github.com/users/jsayol/followers","following_url":"https://api.github.com/users/jsayol/following{/other_user}","gists_url":"https://api.github.com/users/jsayol/gists{/gist_id}","starred_url":"https://api.github.com/users/jsayol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsayol/subscriptions","organizations_url":"https://api.github.com/users/jsayol/orgs","repos_url":"https://api.github.com/users/jsayol/repos","events_url":"https://api.github.com/users/jsayol/events{/privacy}","received_events_url":"https://api.github.com/users/jsayol/received_events","type":"User","site_admin":false},"body":"The object at `self.contacts[self.selectedIndex]` references the next element after the one actually selected, showing the wrong last name for \"Selected User:\".\r\n\r\nMoreover, when selecting the last user (Castel) the browser throws a `TypeError: Cannot read property 'lastName' of undefined`.","created_at":"2015-12-14T03:20:52Z","updated_at":"2016-01-15T23:11:38Z","closed_at":"2016-01-15T23:11:38Z","merged_at":null,"merge_commit_sha":"214c0d1c9aace3096861adae319bb6c74f6057fb","assignee":{"login":"rschmukler","id":651740,"avatar_url":"https://avatars.githubusercontent.com/u/651740?v=3","gravatar_id":"","url":"https://api.github.com/users/rschmukler","html_url":"https://github.com/rschmukler","followers_url":"https://api.github.com/users/rschmukler/followers","following_url":"https://api.github.com/users/rschmukler/following{/other_user}","gists_url":"https://api.github.com/users/rschmukler/gists{/gist_id}","starred_url":"https://api.github.com/users/rschmukler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschmukler/subscriptions","organizations_url":"https://api.github.com/users/rschmukler/orgs","repos_url":"https://api.github.com/users/rschmukler/repos","events_url":"https://api.github.com/users/rschmukler/events{/privacy}","received_events_url":"https://api.github.com/users/rschmukler/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/angular/material/pulls/6281/commits","review_comments_url":"https://api.github.com/repos/angular/material/pulls/6281/comments","review_comment_url":"https://api.github.com/repos/angular/material/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/material/issues/6281/comments","statuses_url":"https://api.github.com/repos/angular/material/statuses/c985529cbe45e64001a8c1947a593fb69c265e05","head":{"label":"jsayol:patch-1","ref":"patch-1","sha":"c985529cbe45e64001a8c1947a593fb69c265e05","user":{"login":"jsayol","id":2029586,"avatar_url":"https://avatars.githubusercontent.com/u/2029586?v=3","gravatar_id":"","url":"https://api.github.com/users/jsayol","html_url":"https://github.com/jsayol","followers_url":"https://api.github.com/users/jsayol/followers","following_url":"https://api.github.com/users/jsayol/following{/other_user}","gists_url":"https://api.github.com/users/jsayol/gists{/gist_id}","starred_url":"https://api.github.com/users/jsayol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsayol/subscriptions","organizations_url":"https://api.github.com/users/jsayol/orgs","repos_url":"https://api.github.com/users/jsayol/repos","events_url":"https://api.github.com/users/jsayol/events{/privacy}","received_events_url":"https://api.github.com/users/jsayol/received_events","type":"User","site_admin":false},"repo":{"id":47949434,"name":"material","full_name":"jsayol/material","owner":{"login":"jsayol","id":2029586,"avatar_url":"https://avatars.githubusercontent.com/u/2029586?v=3","gravatar_id":"","url":"https://api.github.com/users/jsayol","html_url":"https://github.com/jsayol","followers_url":"https://api.github.com/users/jsayol/followers","following_url":"https://api.github.com/users/jsayol/following{/other_user}","gists_url":"https://api.github.com/users/jsayol/gists{/gist_id}","starred_url":"https://api.github.com/users/jsayol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsayol/subscriptions","organizations_url":"https://api.github.com/users/jsayol/orgs","repos_url":"https://api.github.com/users/jsayol/repos","events_url":"https://api.github.com/users/jsayol/events{/privacy}","received_events_url":"https://api.github.com/users/jsayol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsayol/material","description":"Material design for Angular","fork":true,"url":"https://api.github.com/repos/jsayol/material","forks_url":"https://api.github.com/repos/jsayol/material/forks","keys_url":"https://api.github.com/repos/jsayol/material/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsayol/material/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsayol/material/teams","hooks_url":"https://api.github.com/repos/jsayol/material/hooks","issue_events_url":"https://api.github.com/repos/jsayol/material/issues/events{/number}","events_url":"https://api.github.com/repos/jsayol/material/events","assignees_url":"https://api.github.com/repos/jsayol/material/assignees{/user}","branches_url":"https://api.github.com/repos/jsayol/material/branches{/branch}","tags_url":"https://api.github.com/repos/jsayol/material/tags","blobs_url":"https://api.github.com/repos/jsayol/material/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsayol/material/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsayol/material/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsayol/material/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsayol/material/statuses/{sha}","languages_url":"https://api.github.com/repos/jsayol/material/languages","stargazers_url":"https://api.github.com/repos/jsayol/material/stargazers","contributors_url":"https://api.github.com/repos/jsayol/material/contributors","subscribers_url":"https://api.github.com/repos/jsayol/material/subscribers","subscription_url":"https://api.github.com/repos/jsayol/material/subscription","commits_url":"https://api.github.com/repos/jsayol/material/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsayol/material/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsayol/material/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsayol/material/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsayol/material/contents/{+path}","compare_url":"https://api.github.com/repos/jsayol/material/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsayol/material/merges","archive_url":"https://api.github.com/repos/jsayol/material/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsayol/material/downloads","issues_url":"https://api.github.com/repos/jsayol/material/issues{/number}","pulls_url":"https://api.github.com/repos/jsayol/material/pulls{/number}","milestones_url":"https://api.github.com/repos/jsayol/material/milestones{/number}","notifications_url":"https://api.github.com/repos/jsayol/material/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsayol/material/labels{/name}","releases_url":"https://api.github.com/repos/jsayol/material/releases{/id}","created_at":"2015-12-14T03:14:53Z","updated_at":"2015-12-14T03:14:56Z","pushed_at":"2015-12-14T03:20:08Z","git_url":"git://github.com/jsayol/material.git","ssh_url":"git@github.com:jsayol/material.git","clone_url":"https://github.com/jsayol/material.git","svn_url":"https://github.com/jsayol/material","homepage":"https://material.angularjs.org/","size":57816,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:team/topher/fix-demo-spacing-issues","ref":"team/topher/fix-demo-spacing-issues","sha":"0454dca23a81a6300acca127f8d079af56035575","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":21399598,"name":"material","full_name":"angular/material","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/material","description":"Material design for Angular","fork":false,"url":"https://api.github.com/repos/angular/material","forks_url":"https://api.github.com/repos/angular/material/forks","keys_url":"https://api.github.com/repos/angular/material/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/material/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/material/teams","hooks_url":"https://api.github.com/repos/angular/material/hooks","issue_events_url":"https://api.github.com/repos/angular/material/issues/events{/number}","events_url":"https://api.github.com/repos/angular/material/events","assignees_url":"https://api.github.com/repos/angular/material/assignees{/user}","branches_url":"https://api.github.com/repos/angular/material/branches{/branch}","tags_url":"https://api.github.com/repos/angular/material/tags","blobs_url":"https://api.github.com/repos/angular/material/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/material/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/material/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/material/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/material/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/material/languages","stargazers_url":"https://api.github.com/repos/angular/material/stargazers","contributors_url":"https://api.github.com/repos/angular/material/contributors","subscribers_url":"https://api.github.com/repos/angular/material/subscribers","subscription_url":"https://api.github.com/repos/angular/material/subscription","commits_url":"https://api.github.com/repos/angular/material/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/material/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/material/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/material/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/material/contents/{+path}","compare_url":"https://api.github.com/repos/angular/material/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/material/merges","archive_url":"https://api.github.com/repos/angular/material/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/material/downloads","issues_url":"https://api.github.com/repos/angular/material/issues{/number}","pulls_url":"https://api.github.com/repos/angular/material/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/material/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/material/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/material/labels{/name}","releases_url":"https://api.github.com/repos/angular/material/releases{/id}","created_at":"2014-07-01T19:20:06Z","updated_at":"2016-01-15T21:30:28Z","pushed_at":"2016-01-15T23:11:38Z","git_url":"git://github.com/angular/material.git","ssh_url":"git@github.com:angular/material.git","clone_url":"https://github.com/angular/material.git","svn_url":"https://github.com/angular/material","homepage":"https://material.angularjs.org/","size":62970,"stargazers_count":12179,"watchers_count":12179,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2283,"mirror_url":null,"open_issues_count":1530,"forks":2283,"open_issues":1530,"watchers":12179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/material/pulls/6281"},"html":{"href":"https://github.com/angular/material/pull/6281"},"issue":{"href":"https://api.github.com/repos/angular/material/issues/6281"},"comments":{"href":"https://api.github.com/repos/angular/material/issues/6281/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/material/pulls/6281/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/material/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/material/pulls/6281/commits"},"statuses":{"href":"https://api.github.com/repos/angular/material/statuses/c985529cbe45e64001a8c1947a593fb69c265e05"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}