{"action":"opened","number":1196,"pull_request":{"url":"https://api.github.com/repos/vuematerial/vue-material/pulls/1196","id":154060428,"html_url":"https://github.com/vuematerial/vue-material/pull/1196","diff_url":"https://github.com/vuematerial/vue-material/pull/1196.diff","patch_url":"https://github.com/vuematerial/vue-material/pull/1196.patch","issue_url":"https://api.github.com/repos/vuematerial/vue-material/issues/1196","number":1196,"state":"open","locked":false,"title":"fix(MdInput): Avoid InputEvent object from @input event","user":{"login":"VdustR","id":29639463,"avatar_url":"https://avatars1.githubusercontent.com/u/29639463?v=4","gravatar_id":"","url":"https://api.github.com/users/VdustR","html_url":"https://github.com/VdustR","followers_url":"https://api.github.com/users/VdustR/followers","following_url":"https://api.github.com/users/VdustR/following{/other_user}","gists_url":"https://api.github.com/users/VdustR/gists{/gist_id}","starred_url":"https://api.github.com/users/VdustR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VdustR/subscriptions","organizations_url":"https://api.github.com/users/VdustR/orgs","repos_url":"https://api.github.com/users/VdustR/repos","events_url":"https://api.github.com/users/VdustR/events{/privacy}","received_events_url":"https://api.github.com/users/VdustR/received_events","type":"User","site_admin":false},"body":"fix #1160\r\n\r\n> Related to Vue[#6846](https://github.com/vuejs/vue/issues/6846), [#7042](https://github.com/vuejs/vue/issues/7042).\r\n> \r\n> After studying [#7042#issuecomment-344948474](https://github.com/vuejs/vue/issues/7042#issuecomment-344948474), I tried:\r\n> ```html\r\n> <input type='text' v-model='model' v-bind='$attrs' \r\n>   v-on=\"{\r\n>     ...$listeners,\r\n>     input: event => $emit('input', event.target.value)\r\n>   }\">\r\n> ```\r\n> and it works.\r\n> \r\n> Demo: [Codepen](https://codepen.io/VdustR/pen/gXeBmG)\r\n> \r\n\r\n","created_at":"2017-11-22T04:25:02Z","updated_at":"2017-11-22T04:25:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vuematerial/vue-material/pulls/1196/commits","review_comments_url":"https://api.github.com/repos/vuematerial/vue-material/pulls/1196/comments","review_comment_url":"https://api.github.com/repos/vuematerial/vue-material/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vuematerial/vue-material/issues/1196/comments","statuses_url":"https://api.github.com/repos/vuematerial/vue-material/statuses/6fedf74f0688cd2693addaf62edbbb0fe4399fcf","head":{"label":"VdustR:fix#1160","ref":"fix#1160","sha":"6fedf74f0688cd2693addaf62edbbb0fe4399fcf","user":{"login":"VdustR","id":29639463,"avatar_url":"https://avatars1.githubusercontent.com/u/29639463?v=4","gravatar_id":"","url":"https://api.github.com/users/VdustR","html_url":"https://github.com/VdustR","followers_url":"https://api.github.com/users/VdustR/followers","following_url":"https://api.github.com/users/VdustR/following{/other_user}","gists_url":"https://api.github.com/users/VdustR/gists{/gist_id}","starred_url":"https://api.github.com/users/VdustR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VdustR/subscriptions","organizations_url":"https://api.github.com/users/VdustR/orgs","repos_url":"https://api.github.com/users/VdustR/repos","events_url":"https://api.github.com/users/VdustR/events{/privacy}","received_events_url":"https://api.github.com/users/VdustR/received_events","type":"User","site_admin":false},"repo":{"id":97809805,"name":"vue-material","full_name":"VdustR/vue-material","owner":{"login":"VdustR","id":29639463,"avatar_url":"https://avatars1.githubusercontent.com/u/29639463?v=4","gravatar_id":"","url":"https://api.github.com/users/VdustR","html_url":"https://github.com/VdustR","followers_url":"https://api.github.com/users/VdustR/followers","following_url":"https://api.github.com/users/VdustR/following{/other_user}","gists_url":"https://api.github.com/users/VdustR/gists{/gist_id}","starred_url":"https://api.github.com/users/VdustR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VdustR/subscriptions","organizations_url":"https://api.github.com/users/VdustR/orgs","repos_url":"https://api.github.com/users/VdustR/repos","events_url":"https://api.github.com/users/VdustR/events{/privacy}","received_events_url":"https://api.github.com/users/VdustR/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VdustR/vue-material","description":"Material design for Vue.js","fork":true,"url":"https://api.github.com/repos/VdustR/vue-material","forks_url":"https://api.github.com/repos/VdustR/vue-material/forks","keys_url":"https://api.github.com/repos/VdustR/vue-material/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VdustR/vue-material/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VdustR/vue-material/teams","hooks_url":"https://api.github.com/repos/VdustR/vue-material/hooks","issue_events_url":"https://api.github.com/repos/VdustR/vue-material/issues/events{/number}","events_url":"https://api.github.com/repos/VdustR/vue-material/events","assignees_url":"https://api.github.com/repos/VdustR/vue-material/assignees{/user}","branches_url":"https://api.github.com/repos/VdustR/vue-material/branches{/branch}","tags_url":"https://api.github.com/repos/VdustR/vue-material/tags","blobs_url":"https://api.github.com/repos/VdustR/vue-material/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VdustR/vue-material/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VdustR/vue-material/git/refs{/sha}","trees_url":"https://api.github.com/repos/VdustR/vue-material/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VdustR/vue-material/statuses/{sha}","languages_url":"https://api.github.com/repos/VdustR/vue-material/languages","stargazers_url":"https://api.github.com/repos/VdustR/vue-material/stargazers","contributors_url":"https://api.github.com/repos/VdustR/vue-material/contributors","subscribers_url":"https://api.github.com/repos/VdustR/vue-material/subscribers","subscription_url":"https://api.github.com/repos/VdustR/vue-material/subscription","commits_url":"https://api.github.com/repos/VdustR/vue-material/commits{/sha}","git_commits_url":"https://api.github.com/repos/VdustR/vue-material/git/commits{/sha}","comments_url":"https://api.github.com/repos/VdustR/vue-material/comments{/number}","issue_comment_url":"https://api.github.com/repos/VdustR/vue-material/issues/comments{/number}","contents_url":"https://api.github.com/repos/VdustR/vue-material/contents/{+path}","compare_url":"https://api.github.com/repos/VdustR/vue-material/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VdustR/vue-material/merges","archive_url":"https://api.github.com/repos/VdustR/vue-material/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VdustR/vue-material/downloads","issues_url":"https://api.github.com/repos/VdustR/vue-material/issues{/number}","pulls_url":"https://api.github.com/repos/VdustR/vue-material/pulls{/number}","milestones_url":"https://api.github.com/repos/VdustR/vue-material/milestones{/number}","notifications_url":"https://api.github.com/repos/VdustR/vue-material/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VdustR/vue-material/labels{/name}","releases_url":"https://api.github.com/repos/VdustR/vue-material/releases{/id}","deployments_url":"https://api.github.com/repos/VdustR/vue-material/deployments","created_at":"2017-07-20T08:20:27Z","updated_at":"2017-07-20T08:20:30Z","pushed_at":"2017-11-22T04:23:27Z","git_url":"git://github.com/VdustR/vue-material.git","ssh_url":"git@github.com:VdustR/vue-material.git","clone_url":"https://github.com/VdustR/vue-material.git","svn_url":"https://github.com/VdustR/vue-material","homepage":"https://vuematerial.github.io","size":12308,"stargazers_count":0,"watchers_count":0,"language":"Vue","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vuematerial:dev","ref":"dev","sha":"5fe2be3f5c72ff2765bd5cbedcb3f34c80e72cdc","user":{"login":"vuematerial","id":23659108,"avatar_url":"https://avatars0.githubusercontent.com/u/23659108?v=4","gravatar_id":"","url":"https://api.github.com/users/vuematerial","html_url":"https://github.com/vuematerial","followers_url":"https://api.github.com/users/vuematerial/followers","following_url":"https://api.github.com/users/vuematerial/following{/other_user}","gists_url":"https://api.github.com/users/vuematerial/gists{/gist_id}","starred_url":"https://api.github.com/users/vuematerial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuematerial/subscriptions","organizations_url":"https://api.github.com/users/vuematerial/orgs","repos_url":"https://api.github.com/users/vuematerial/repos","events_url":"https://api.github.com/users/vuematerial/events{/privacy}","received_events_url":"https://api.github.com/users/vuematerial/received_events","type":"Organization","site_admin":false},"repo":{"id":61406260,"name":"vue-material","full_name":"vuematerial/vue-material","owner":{"login":"vuematerial","id":23659108,"avatar_url":"https://avatars0.githubusercontent.com/u/23659108?v=4","gravatar_id":"","url":"https://api.github.com/users/vuematerial","html_url":"https://github.com/vuematerial","followers_url":"https://api.github.com/users/vuematerial/followers","following_url":"https://api.github.com/users/vuematerial/following{/other_user}","gists_url":"https://api.github.com/users/vuematerial/gists{/gist_id}","starred_url":"https://api.github.com/users/vuematerial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuematerial/subscriptions","organizations_url":"https://api.github.com/users/vuematerial/orgs","repos_url":"https://api.github.com/users/vuematerial/repos","events_url":"https://api.github.com/users/vuematerial/events{/privacy}","received_events_url":"https://api.github.com/users/vuematerial/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vuematerial/vue-material","description":"Material design for Vue.js","fork":false,"url":"https://api.github.com/repos/vuematerial/vue-material","forks_url":"https://api.github.com/repos/vuematerial/vue-material/forks","keys_url":"https://api.github.com/repos/vuematerial/vue-material/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuematerial/vue-material/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuematerial/vue-material/teams","hooks_url":"https://api.github.com/repos/vuematerial/vue-material/hooks","issue_events_url":"https://api.github.com/repos/vuematerial/vue-material/issues/events{/number}","events_url":"https://api.github.com/repos/vuematerial/vue-material/events","assignees_url":"https://api.github.com/repos/vuematerial/vue-material/assignees{/user}","branches_url":"https://api.github.com/repos/vuematerial/vue-material/branches{/branch}","tags_url":"https://api.github.com/repos/vuematerial/vue-material/tags","blobs_url":"https://api.github.com/repos/vuematerial/vue-material/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuematerial/vue-material/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuematerial/vue-material/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuematerial/vue-material/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuematerial/vue-material/statuses/{sha}","languages_url":"https://api.github.com/repos/vuematerial/vue-material/languages","stargazers_url":"https://api.github.com/repos/vuematerial/vue-material/stargazers","contributors_url":"https://api.github.com/repos/vuematerial/vue-material/contributors","subscribers_url":"https://api.github.com/repos/vuematerial/vue-material/subscribers","subscription_url":"https://api.github.com/repos/vuematerial/vue-material/subscription","commits_url":"https://api.github.com/repos/vuematerial/vue-material/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuematerial/vue-material/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuematerial/vue-material/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuematerial/vue-material/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuematerial/vue-material/contents/{+path}","compare_url":"https://api.github.com/repos/vuematerial/vue-material/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuematerial/vue-material/merges","archive_url":"https://api.github.com/repos/vuematerial/vue-material/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuematerial/vue-material/downloads","issues_url":"https://api.github.com/repos/vuematerial/vue-material/issues{/number}","pulls_url":"https://api.github.com/repos/vuematerial/vue-material/pulls{/number}","milestones_url":"https://api.github.com/repos/vuematerial/vue-material/milestones{/number}","notifications_url":"https://api.github.com/repos/vuematerial/vue-material/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuematerial/vue-material/labels{/name}","releases_url":"https://api.github.com/repos/vuematerial/vue-material/releases{/id}","deployments_url":"https://api.github.com/repos/vuematerial/vue-material/deployments","created_at":"2016-06-17T22:41:53Z","updated_at":"2017-11-21T22:28:01Z","pushed_at":"2017-11-22T02:43:08Z","git_url":"git://github.com/vuematerial/vue-material.git","ssh_url":"git@github.com:vuematerial/vue-material.git","clone_url":"https://github.com/vuematerial/vue-material.git","svn_url":"https://github.com/vuematerial/vue-material","homepage":"http://vuematerial.io","size":12419,"stargazers_count":4792,"watchers_count":4792,"language":"Vue","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":585,"mirror_url":null,"archived":false,"open_issues_count":277,"forks":585,"open_issues":277,"watchers":4792,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/vuematerial/vue-material/pulls/1196"},"html":{"href":"https://github.com/vuematerial/vue-material/pull/1196"},"issue":{"href":"https://api.github.com/repos/vuematerial/vue-material/issues/1196"},"comments":{"href":"https://api.github.com/repos/vuematerial/vue-material/issues/1196/comments"},"review_comments":{"href":"https://api.github.com/repos/vuematerial/vue-material/pulls/1196/comments"},"review_comment":{"href":"https://api.github.com/repos/vuematerial/vue-material/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vuematerial/vue-material/pulls/1196/commits"},"statuses":{"href":"https://api.github.com/repos/vuematerial/vue-material/statuses/6fedf74f0688cd2693addaf62edbbb0fe4399fcf"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":7,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"VdustR"}}