{"action":"opened","issue":{"url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1217","labels_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1217/labels{/name}","comments_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1217/comments","events_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1217/events","html_url":"https://github.com/eternicode/bootstrap-datepicker/issues/1217","id":53225947,"number":1217,"title":"Problem with setValue in hide method","user":{"login":"acrobat","id":1374857,"avatar_url":"https://avatars.githubusercontent.com/u/1374857?v=3","gravatar_id":"","url":"https://api.github.com/users/acrobat","html_url":"https://github.com/acrobat","followers_url":"https://api.github.com/users/acrobat/followers","following_url":"https://api.github.com/users/acrobat/following{/other_user}","gists_url":"https://api.github.com/users/acrobat/gists{/gist_id}","starred_url":"https://api.github.com/users/acrobat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrobat/subscriptions","organizations_url":"https://api.github.com/users/acrobat/orgs","repos_url":"https://api.github.com/users/acrobat/repos","events_url":"https://api.github.com/users/acrobat/events{/privacy}","received_events_url":"https://api.github.com/users/acrobat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-01T18:54:53Z","updated_at":"2015-01-01T18:54:53Z","closed_at":null,"body":"Both PR #307 and #343 suggested to remove the setValue() from hide method.\r\n\r\n@eternicode how do suggest to fix this issue? As in [PR #307](https://github.com/eternicode/bootstrap-datepicker/pull/307#discussion_r22339161) you said\r\n\r\n> Removing only this line puts the event trigger under the above if clause, which is incorrect."}}