{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/6406","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/6406/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/6406/comments","events_url":"https://api.github.com/repos/facebook/react/issues/6406/events","html_url":"https://github.com/facebook/react/pull/6406","id":145749249,"number":6406,"title":"Properly set value and defaultValue for input and textarea","user":{"login":"jimfb","id":9595985,"avatar_url":"https://avatars.githubusercontent.com/u/9595985?v=3","gravatar_id":"","url":"https://api.github.com/users/jimfb","html_url":"https://github.com/jimfb","followers_url":"https://api.github.com/users/jimfb/followers","following_url":"https://api.github.com/users/jimfb/following{/other_user}","gists_url":"https://api.github.com/users/jimfb/gists{/gist_id}","starred_url":"https://api.github.com/users/jimfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimfb/subscriptions","organizations_url":"https://api.github.com/users/jimfb/orgs","repos_url":"https://api.github.com/users/jimfb/repos","events_url":"https://api.github.com/users/jimfb/events{/privacy}","received_events_url":"https://api.github.com/users/jimfb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7"},{"url":"https://api.github.com/repos/facebook/react/labels/GH%20Review:%20accepted","name":"GH Review: accepted","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2016-04-04T17:22:45Z","updated_at":"2016-05-17T18:35:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/6406","html_url":"https://github.com/facebook/react/pull/6406","diff_url":"https://github.com/facebook/react/pull/6406.diff","patch_url":"https://github.com/facebook/react/pull/6406.patch"},"body":"Spiritual successor to https://github.com/facebook/react/pull/5680.  This is a fix for #6119 and #6219, both of which are blocking v15. As an added bonus, it happens to also fix #4618 :P.  It works by setting/removing both the attribute and property for `value` on inputs, and setting the property for `defaultValue`.\r\n\r\nI fixed the tests to be more reasonable (inputs retain their initial value, rather than having the value potentially change when defaultValue changes). I also fixed the browser inconsistencies."},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/219812034","html_url":"https://github.com/facebook/react/pull/6406#issuecomment-219812034","issue_url":"https://api.github.com/repos/facebook/react/issues/6406","id":219812034,"user":{"login":"facebook-github-bot-0","id":8398734,"avatar_url":"https://avatars.githubusercontent.com/u/8398734?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook-github-bot-0","html_url":"https://github.com/facebook-github-bot-0","followers_url":"https://api.github.com/users/facebook-github-bot-0/followers","following_url":"https://api.github.com/users/facebook-github-bot-0/following{/other_user}","gists_url":"https://api.github.com/users/facebook-github-bot-0/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook-github-bot-0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook-github-bot-0/subscriptions","organizations_url":"https://api.github.com/users/facebook-github-bot-0/orgs","repos_url":"https://api.github.com/users/facebook-github-bot-0/repos","events_url":"https://api.github.com/users/facebook-github-bot-0/events{/privacy}","received_events_url":"https://api.github.com/users/facebook-github-bot-0/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T18:35:23Z","updated_at":"2016-05-17T18:35:23Z","body":"@jimfb updated the pull request."}}