{"action":"opened","number":1053,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-weex/pulls/1053","id":173429559,"html_url":"https://github.com/apache/incubator-weex/pull/1053","diff_url":"https://github.com/apache/incubator-weex/pull/1053.diff","patch_url":"https://github.com/apache/incubator-weex/pull/1053.patch","issue_url":"https://api.github.com/repos/apache/incubator-weex/issues/1053","number":1053,"state":"open","locked":false,"title":"[android]fix input bug","user":{"login":"marekchen","id":3363235,"avatar_url":"https://avatars3.githubusercontent.com/u/3363235?v=4","gravatar_id":"","url":"https://api.github.com/users/marekchen","html_url":"https://github.com/marekchen","followers_url":"https://api.github.com/users/marekchen/followers","following_url":"https://api.github.com/users/marekchen/following{/other_user}","gists_url":"https://api.github.com/users/marekchen/gists{/gist_id}","starred_url":"https://api.github.com/users/marekchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekchen/subscriptions","organizations_url":"https://api.github.com/users/marekchen/orgs","repos_url":"https://api.github.com/users/marekchen/repos","events_url":"https://api.github.com/users/marekchen/events{/privacy}","received_events_url":"https://api.github.com/users/marekchen/received_events","type":"User","site_admin":false},"body":"英文不好就用中文描述了：\r\n1.当在created中设置input的value值为“1”，然后删除“1”，这时不会触发input事件\r\n2.当输入“1”后，还是不能触发input事件，因为value值和输入值相同时，不触发input事件\r\n重现代码如下：\r\n``` html\r\n<template>\r\n  <div>\r\n    <div>\r\n      <text style=\"font-size: 40px\">oninput: {{idCard}}</text>\r\n      <text style=\"font-size: 40px\">onchange: {{idCard}}</text>\r\n\r\n    </div>\r\n    <scroller>\r\n      <div>\r\n        <div style=\"background-color: #286090\">\r\n          <text class=\"title\" style=\"height: 80 ;padding: 20;color: #FFFFFF\">input type = text</text>\r\n        </div>\r\n        <input type=\"text\" :value=\"idCard\" @input=\"oninput\" @change=\"onchange\" class=\"input\" maxlength=\"18\" ref=\"name2\"/>\r\n      </div>\r\n      <button class=\"button\" @click=\"clickbutton\">click</button>\r\n    </scroller>\r\n  </div>\r\n</template>\r\n\r\n<style scoped>\r\n  .input {\r\n    font-size: 60px;\r\n    height: 80px;\r\n    width: 750px;\r\n  }\r\n  .button {\r\n    font-size: 36;\r\n    width: 200px;\r\n    height: 200px;\r\n    color: #41B883;\r\n    text-align: center;\r\n    padding-top: 10;\r\n    padding-bottom: 10;\r\n    border-width: 2;\r\n    border-style: solid;\r\n    margin-right: 20;\r\n    border-color: rgb(162, 217, 192);\r\n    background-color: rgba(162, 217, 192, 0.2);\r\n  }\r\n</style>\r\n\r\n<script>\r\n  module.exports = {\r\n    data: function () {\r\n      return {\r\n        idCard:'',\r\n      };\r\n    },\r\n    methods: {\r\n      clickbutton: function () {\r\n        var that=this;\r\n        var modal = weex.requireModule('modal')\r\n        modal.toast({\r\n            message:\"text:\"+that.idCard,\r\n            duration: 0.3\r\n        })\r\n      },\r\n      oninput: function(event){\r\n        this.idCard = event.value;\r\n        console.log('oninput', event.value);\r\n      },\r\n      onchange: function (event) {\r\n        this.idCard = event.value;\r\n        console.log('onchange', event.value);\r\n      },\r\n    },\r\n    created(){\r\n      this.idCard = \"1\"\r\n    }\r\n  };\r\n</script>\r\n```\r\n\r\nCheckList:\r\n\r\n**if** *isBugFix* **:**\r\n\r\n  * [x] Make sure that you add at least one unit test for the bug which you had fixed.\r\n\r\n**elif** *isNewFeature* **:**\r\n\r\n  * [ ] Update API docs for the component.\r\n  * [ ] Update/Add demo to demonstrate new feature.\r\n  * [ ] Update test scripts for the feature.\r\n  * [ ] Add unit tests for the feature.\r\n","created_at":"2018-03-07T11:52:46Z","updated_at":"2018-03-07T11:52:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-weex/pulls/1053/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-weex/pulls/1053/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-weex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-weex/issues/1053/comments","statuses_url":"https://api.github.com/repos/apache/incubator-weex/statuses/ef9584f7c0a6246f75cd4fb6aef624537b0c038a","head":{"label":"marekchen:master","ref":"master","sha":"ef9584f7c0a6246f75cd4fb6aef624537b0c038a","user":{"login":"marekchen","id":3363235,"avatar_url":"https://avatars3.githubusercontent.com/u/3363235?v=4","gravatar_id":"","url":"https://api.github.com/users/marekchen","html_url":"https://github.com/marekchen","followers_url":"https://api.github.com/users/marekchen/followers","following_url":"https://api.github.com/users/marekchen/following{/other_user}","gists_url":"https://api.github.com/users/marekchen/gists{/gist_id}","starred_url":"https://api.github.com/users/marekchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekchen/subscriptions","organizations_url":"https://api.github.com/users/marekchen/orgs","repos_url":"https://api.github.com/users/marekchen/repos","events_url":"https://api.github.com/users/marekchen/events{/privacy}","received_events_url":"https://api.github.com/users/marekchen/received_events","type":"User","site_admin":false},"repo":{"id":124227342,"name":"incubator-weex","full_name":"marekchen/incubator-weex","owner":{"login":"marekchen","id":3363235,"avatar_url":"https://avatars3.githubusercontent.com/u/3363235?v=4","gravatar_id":"","url":"https://api.github.com/users/marekchen","html_url":"https://github.com/marekchen","followers_url":"https://api.github.com/users/marekchen/followers","following_url":"https://api.github.com/users/marekchen/following{/other_user}","gists_url":"https://api.github.com/users/marekchen/gists{/gist_id}","starred_url":"https://api.github.com/users/marekchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekchen/subscriptions","organizations_url":"https://api.github.com/users/marekchen/orgs","repos_url":"https://api.github.com/users/marekchen/repos","events_url":"https://api.github.com/users/marekchen/events{/privacy}","received_events_url":"https://api.github.com/users/marekchen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marekchen/incubator-weex","description":"Mirror of Apache Weex","fork":true,"url":"https://api.github.com/repos/marekchen/incubator-weex","forks_url":"https://api.github.com/repos/marekchen/incubator-weex/forks","keys_url":"https://api.github.com/repos/marekchen/incubator-weex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marekchen/incubator-weex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marekchen/incubator-weex/teams","hooks_url":"https://api.github.com/repos/marekchen/incubator-weex/hooks","issue_events_url":"https://api.github.com/repos/marekchen/incubator-weex/issues/events{/number}","events_url":"https://api.github.com/repos/marekchen/incubator-weex/events","assignees_url":"https://api.github.com/repos/marekchen/incubator-weex/assignees{/user}","branches_url":"https://api.github.com/repos/marekchen/incubator-weex/branches{/branch}","tags_url":"https://api.github.com/repos/marekchen/incubator-weex/tags","blobs_url":"https://api.github.com/repos/marekchen/incubator-weex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marekchen/incubator-weex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marekchen/incubator-weex/git/refs{/sha}","trees_url":"https://api.github.com/repos/marekchen/incubator-weex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marekchen/incubator-weex/statuses/{sha}","languages_url":"https://api.github.com/repos/marekchen/incubator-weex/languages","stargazers_url":"https://api.github.com/repos/marekchen/incubator-weex/stargazers","contributors_url":"https://api.github.com/repos/marekchen/incubator-weex/contributors","subscribers_url":"https://api.github.com/repos/marekchen/incubator-weex/subscribers","subscription_url":"https://api.github.com/repos/marekchen/incubator-weex/subscription","commits_url":"https://api.github.com/repos/marekchen/incubator-weex/commits{/sha}","git_commits_url":"https://api.github.com/repos/marekchen/incubator-weex/git/commits{/sha}","comments_url":"https://api.github.com/repos/marekchen/incubator-weex/comments{/number}","issue_comment_url":"https://api.github.com/repos/marekchen/incubator-weex/issues/comments{/number}","contents_url":"https://api.github.com/repos/marekchen/incubator-weex/contents/{+path}","compare_url":"https://api.github.com/repos/marekchen/incubator-weex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marekchen/incubator-weex/merges","archive_url":"https://api.github.com/repos/marekchen/incubator-weex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marekchen/incubator-weex/downloads","issues_url":"https://api.github.com/repos/marekchen/incubator-weex/issues{/number}","pulls_url":"https://api.github.com/repos/marekchen/incubator-weex/pulls{/number}","milestones_url":"https://api.github.com/repos/marekchen/incubator-weex/milestones{/number}","notifications_url":"https://api.github.com/repos/marekchen/incubator-weex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marekchen/incubator-weex/labels{/name}","releases_url":"https://api.github.com/repos/marekchen/incubator-weex/releases{/id}","deployments_url":"https://api.github.com/repos/marekchen/incubator-weex/deployments","created_at":"2018-03-07T11:39:20Z","updated_at":"2018-03-07T11:39:27Z","pushed_at":"2018-03-07T11:41:13Z","git_url":"git://github.com/marekchen/incubator-weex.git","ssh_url":"git@github.com:marekchen/incubator-weex.git","clone_url":"https://github.com/marekchen/incubator-weex.git","svn_url":"https://github.com/marekchen/incubator-weex","homepage":null,"size":173597,"stargazers_count":0,"watchers_count":0,"language":"Java","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,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"7c5ef1c68f7c71f9179af7693ae20a691a02c971","user":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":78186814,"name":"incubator-weex","full_name":"apache/incubator-weex","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-weex","description":"Mirror of Apache Weex","fork":false,"url":"https://api.github.com/repos/apache/incubator-weex","forks_url":"https://api.github.com/repos/apache/incubator-weex/forks","keys_url":"https://api.github.com/repos/apache/incubator-weex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-weex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-weex/teams","hooks_url":"https://api.github.com/repos/apache/incubator-weex/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-weex/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-weex/events","assignees_url":"https://api.github.com/repos/apache/incubator-weex/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-weex/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-weex/tags","blobs_url":"https://api.github.com/repos/apache/incubator-weex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-weex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-weex/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-weex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-weex/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-weex/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-weex/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-weex/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-weex/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-weex/subscription","commits_url":"https://api.github.com/repos/apache/incubator-weex/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-weex/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-weex/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-weex/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-weex/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-weex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-weex/merges","archive_url":"https://api.github.com/repos/apache/incubator-weex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-weex/downloads","issues_url":"https://api.github.com/repos/apache/incubator-weex/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-weex/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-weex/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-weex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-weex/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-weex/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-weex/deployments","created_at":"2017-01-06T08:00:06Z","updated_at":"2018-03-07T10:01:46Z","pushed_at":"2018-03-07T11:26:47Z","git_url":"git://github.com/apache/incubator-weex.git","ssh_url":"git@github.com:apache/incubator-weex.git","clone_url":"https://github.com/apache/incubator-weex.git","svn_url":"https://github.com/apache/incubator-weex","homepage":null,"size":173597,"stargazers_count":8277,"watchers_count":8277,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1107,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":1107,"open_issues":20,"watchers":8277,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-weex/pulls/1053"},"html":{"href":"https://github.com/apache/incubator-weex/pull/1053"},"issue":{"href":"https://api.github.com/repos/apache/incubator-weex/issues/1053"},"comments":{"href":"https://api.github.com/repos/apache/incubator-weex/issues/1053/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-weex/pulls/1053/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-weex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-weex/pulls/1053/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-weex/statuses/ef9584f7c0a6246f75cd4fb6aef624537b0c038a"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":12,"changed_files":1}}
{"actor":{"display_login":"marekchen"}}