{"action":"created","issue":{"url":"https://api.github.com/repos/odysseyscience/react-s3-uploader/issues/93","repository_url":"https://api.github.com/repos/odysseyscience/react-s3-uploader","labels_url":"https://api.github.com/repos/odysseyscience/react-s3-uploader/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/odysseyscience/react-s3-uploader/issues/93/comments","events_url":"https://api.github.com/repos/odysseyscience/react-s3-uploader/issues/93/events","html_url":"https://github.com/odysseyscience/react-s3-uploader/issues/93","id":182172835,"number":93,"title":"Invoke 'clear' method","user":{"login":"xuan9230","id":6060740,"avatar_url":"https://avatars.githubusercontent.com/u/6060740?v=3","gravatar_id":"","url":"https://api.github.com/users/xuan9230","html_url":"https://github.com/xuan9230","followers_url":"https://api.github.com/users/xuan9230/followers","following_url":"https://api.github.com/users/xuan9230/following{/other_user}","gists_url":"https://api.github.com/users/xuan9230/gists{/gist_id}","starred_url":"https://api.github.com/users/xuan9230/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuan9230/subscriptions","organizations_url":"https://api.github.com/users/xuan9230/orgs","repos_url":"https://api.github.com/users/xuan9230/repos","events_url":"https://api.github.com/users/xuan9230/events{/privacy}","received_events_url":"https://api.github.com/users/xuan9230/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-11T04:44:20Z","updated_at":"2016-10-11T04:56:17Z","closed_at":null,"body":"Hi, thanks for the awesome component.\r\n\r\nI noticed there's a method called 'clear' in the 'ReactS3Uploader.js', but not exposed. Say I want to clear the input value to be null every time after uploading, how can I use that?\r\n\r\nMany thanks!"},"comment":{"url":"https://api.github.com/repos/odysseyscience/react-s3-uploader/issues/comments/252813975","html_url":"https://github.com/odysseyscience/react-s3-uploader/issues/93#issuecomment-252813975","issue_url":"https://api.github.com/repos/odysseyscience/react-s3-uploader/issues/93","id":252813975,"user":{"login":"xuan9230","id":6060740,"avatar_url":"https://avatars.githubusercontent.com/u/6060740?v=3","gravatar_id":"","url":"https://api.github.com/users/xuan9230","html_url":"https://github.com/xuan9230","followers_url":"https://api.github.com/users/xuan9230/followers","following_url":"https://api.github.com/users/xuan9230/following{/other_user}","gists_url":"https://api.github.com/users/xuan9230/gists{/gist_id}","starred_url":"https://api.github.com/users/xuan9230/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuan9230/subscriptions","organizations_url":"https://api.github.com/users/xuan9230/orgs","repos_url":"https://api.github.com/users/xuan9230/repos","events_url":"https://api.github.com/users/xuan9230/events{/privacy}","received_events_url":"https://api.github.com/users/xuan9230/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T04:56:17Z","updated_at":"2016-10-11T04:56:17Z","body":"Just figured out myself.  We can do \r\n\r\n<ReactS3Uploader ref={node => (this.node = node)} />\r\n\r\nAnd in onFinish: this.node.clear();\r\n\r\nThis will clear out the input element. Not sure if this is a good practice, and is there a way of getting the input 'value' directly?\r\n"}}
{"actor":{"display_login":"xuan9230"}}