{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/11478","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/11478/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/11478/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/11478/events","html_url":"https://github.com/facebook/react-native/pull/11478","id":195752481,"number":11478,"title":"Fix TextInput 'defaultValue' propTypes to 'string'","user":{"login":"feyy","id":3056002,"avatar_url":"https://avatars.githubusercontent.com/u/3056002?v=3","gravatar_id":"","url":"https://api.github.com/users/feyy","html_url":"https://github.com/feyy","followers_url":"https://api.github.com/users/feyy/followers","following_url":"https://api.github.com/users/feyy/following{/other_user}","gists_url":"https://api.github.com/users/feyy/gists{/gist_id}","starred_url":"https://api.github.com/users/feyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feyy/subscriptions","organizations_url":"https://api.github.com/users/feyy/orgs","repos_url":"https://api.github.com/users/feyy/repos","events_url":"https://api.github.com/users/feyy/events{/privacy}","received_events_url":"https://api.github.com/users/feyy/received_events","type":"User","site_admin":false},"labels":[{"id":196858975,"url":"https://api.github.com/repos/facebook/react-native/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7","default":false},{"id":172167414,"url":"https://api.github.com/repos/facebook/react-native/labels/GH%20Review:%20accepted","name":"GH Review: accepted","color":"009800","default":false},{"id":302755315,"url":"https://api.github.com/repos/facebook/react-native/labels/Import%20Failed","name":"Import Failed","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":{"login":"lacker","id":106475,"avatar_url":"https://avatars.githubusercontent.com/u/106475?v=3","gravatar_id":"","url":"https://api.github.com/users/lacker","html_url":"https://github.com/lacker","followers_url":"https://api.github.com/users/lacker/followers","following_url":"https://api.github.com/users/lacker/following{/other_user}","gists_url":"https://api.github.com/users/lacker/gists{/gist_id}","starred_url":"https://api.github.com/users/lacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lacker/subscriptions","organizations_url":"https://api.github.com/users/lacker/orgs","repos_url":"https://api.github.com/users/lacker/repos","events_url":"https://api.github.com/users/lacker/events{/privacy}","received_events_url":"https://api.github.com/users/lacker/received_events","type":"User","site_admin":false},"assignees":[{"login":"lacker","id":106475,"avatar_url":"https://avatars.githubusercontent.com/u/106475?v=3","gravatar_id":"","url":"https://api.github.com/users/lacker","html_url":"https://github.com/lacker","followers_url":"https://api.github.com/users/lacker/followers","following_url":"https://api.github.com/users/lacker/following{/other_user}","gists_url":"https://api.github.com/users/lacker/gists{/gist_id}","starred_url":"https://api.github.com/users/lacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lacker/subscriptions","organizations_url":"https://api.github.com/users/lacker/orgs","repos_url":"https://api.github.com/users/lacker/repos","events_url":"https://api.github.com/users/lacker/events{/privacy}","received_events_url":"https://api.github.com/users/lacker/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-12-15T09:12:42Z","updated_at":"2016-12-20T03:10:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/11478","html_url":"https://github.com/facebook/react-native/pull/11478","diff_url":"https://github.com/facebook/react-native/pull/11478.diff","patch_url":"https://github.com/facebook/react-native/pull/11478.patch"},"body":"Because `TextInput` only render the `defaultValue` of `string`, when using other types of values, it will render empty('') without any Warnings."},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/268142700","html_url":"https://github.com/facebook/react-native/pull/11478#issuecomment-268142700","issue_url":"https://api.github.com/repos/facebook/react-native/issues/11478","id":268142700,"user":{"login":"feyy","id":3056002,"avatar_url":"https://avatars.githubusercontent.com/u/3056002?v=3","gravatar_id":"","url":"https://api.github.com/users/feyy","html_url":"https://github.com/feyy","followers_url":"https://api.github.com/users/feyy/followers","following_url":"https://api.github.com/users/feyy/following{/other_user}","gists_url":"https://api.github.com/users/feyy/gists{/gist_id}","starred_url":"https://api.github.com/users/feyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feyy/subscriptions","organizations_url":"https://api.github.com/users/feyy/orgs","repos_url":"https://api.github.com/users/feyy/repos","events_url":"https://api.github.com/users/feyy/events{/privacy}","received_events_url":"https://api.github.com/users/feyy/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T03:10:20Z","updated_at":"2016-12-20T03:10:20Z","body":"According to the code in [`TextInput.js`](https://github.com/facebook/react-native/blob/master/Libraries/Components/TextInput/TextInput.js#L612~L614), Only `string` type work."}}
{"actor":{"display_login":"feyy"}}