{"action":"created","issue":{"url":"https://api.github.com/repos/predixdesignsystem/px-file-upload/issues/21","repository_url":"https://api.github.com/repos/predixdesignsystem/px-file-upload","labels_url":"https://api.github.com/repos/predixdesignsystem/px-file-upload/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/predixdesignsystem/px-file-upload/issues/21/comments","events_url":"https://api.github.com/repos/predixdesignsystem/px-file-upload/issues/21/events","html_url":"https://github.com/predixdesignsystem/px-file-upload/issues/21","id":357555965,"node_id":"MDU6SXNzdWUzNTc1NTU5NjU=","number":21,"title":"clear method triggers  px-file-upload-files-changed","user":{"login":"rupeshpadhye","id":10848048,"node_id":"MDQ6VXNlcjEwODQ4MDQ4","avatar_url":"https://avatars1.githubusercontent.com/u/10848048?v=4","gravatar_id":"","url":"https://api.github.com/users/rupeshpadhye","html_url":"https://github.com/rupeshpadhye","followers_url":"https://api.github.com/users/rupeshpadhye/followers","following_url":"https://api.github.com/users/rupeshpadhye/following{/other_user}","gists_url":"https://api.github.com/users/rupeshpadhye/gists{/gist_id}","starred_url":"https://api.github.com/users/rupeshpadhye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rupeshpadhye/subscriptions","organizations_url":"https://api.github.com/users/rupeshpadhye/orgs","repos_url":"https://api.github.com/users/rupeshpadhye/repos","events_url":"https://api.github.com/users/rupeshpadhye/events{/privacy}","received_events_url":"https://api.github.com/users/rupeshpadhye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-06T08:49:09Z","updated_at":"2018-09-06T10:39:28Z","closed_at":null,"author_association":"NONE","body":"`clear` method should reset the component to its original state . but currently   `px-file-upload-files-changed` event is emitted explicitly \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/predixdesignsystem/px-file-upload/issues/comments/419047954","html_url":"https://github.com/predixdesignsystem/px-file-upload/issues/21#issuecomment-419047954","issue_url":"https://api.github.com/repos/predixdesignsystem/px-file-upload/issues/21","id":419047954,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTA0Nzk1NA==","user":{"login":"rupeshpadhye","id":10848048,"node_id":"MDQ6VXNlcjEwODQ4MDQ4","avatar_url":"https://avatars1.githubusercontent.com/u/10848048?v=4","gravatar_id":"","url":"https://api.github.com/users/rupeshpadhye","html_url":"https://github.com/rupeshpadhye","followers_url":"https://api.github.com/users/rupeshpadhye/followers","following_url":"https://api.github.com/users/rupeshpadhye/following{/other_user}","gists_url":"https://api.github.com/users/rupeshpadhye/gists{/gist_id}","starred_url":"https://api.github.com/users/rupeshpadhye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rupeshpadhye/subscriptions","organizations_url":"https://api.github.com/users/rupeshpadhye/orgs","repos_url":"https://api.github.com/users/rupeshpadhye/repos","events_url":"https://api.github.com/users/rupeshpadhye/events{/privacy}","received_events_url":"https://api.github.com/users/rupeshpadhye/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T10:39:28Z","updated_at":"2018-09-06T10:39:28Z","author_association":"NONE","body":"@evanjd  Component consumer have to write unnecessary `IF` condition \r\n I think intention of public `clear` method  is to restore the file upload component to its default empty state. since method is called grammatically. consumer knows the impact of it so triggering an custom event is not required \r\n:bulb: It makes sense if you are calling `_notifyFilesChanged` from `_removeFile` method but not from `clear`\r\n I would like to know the user case where it is required "}}
{"actor":{"display_login":"rupeshpadhye"}}