{"action":"closed","issue":{"url":"https://api.github.com/repos/ngrx/store/issues/344","repository_url":"https://api.github.com/repos/ngrx/store","labels_url":"https://api.github.com/repos/ngrx/store/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/ngrx/store/issues/344/comments","events_url":"https://api.github.com/repos/ngrx/store/issues/344/events","html_url":"https://github.com/ngrx/store/issues/344","id":210324126,"number":344,"title":"Reset form input after action completes","user":{"login":"ArielGueta","id":20522870,"avatar_url":"https://avatars.githubusercontent.com/u/20522870?v=3","gravatar_id":"","url":"https://api.github.com/users/ArielGueta","html_url":"https://github.com/ArielGueta","followers_url":"https://api.github.com/users/ArielGueta/followers","following_url":"https://api.github.com/users/ArielGueta/following{/other_user}","gists_url":"https://api.github.com/users/ArielGueta/gists{/gist_id}","starred_url":"https://api.github.com/users/ArielGueta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArielGueta/subscriptions","organizations_url":"https://api.github.com/users/ArielGueta/orgs","repos_url":"https://api.github.com/users/ArielGueta/repos","events_url":"https://api.github.com/users/ArielGueta/events{/privacy}","received_events_url":"https://api.github.com/users/ArielGueta/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-02-26T15:04:01Z","updated_at":"2017-02-26T15:23:53Z","closed_at":"2017-02-26T15:23:53Z","body":"I have a dumb component that contains an input. When the user clicks on the add button, I'm emitting Output with the text. The smart component fetches the event and dispatch to the store.\r\n\r\nHow can I reset the input value after the action completes?\r\n\r\n```\r\n@Component({\r\n  selector: 'add-post',\r\n  template: \"<input #post>\r\n             <button (click)=\"add.next(post.value)\">Add</button>\r\n\"\r\n})\r\nexport class AddPostComponent {\r\n  @Output() addPost = new EventEmitter();\r\n}\r\n```"}}
{"actor":{"display_login":"ArielGueta"}}