{"action":"created","issue":{"url":"https://api.github.com/repos/blackbaud/skyux/issues/520","repository_url":"https://api.github.com/repos/blackbaud/skyux","labels_url":"https://api.github.com/repos/blackbaud/skyux/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/blackbaud/skyux/issues/520/comments","events_url":"https://api.github.com/repos/blackbaud/skyux/issues/520/events","html_url":"https://github.com/blackbaud/skyux/issues/520","id":150389970,"number":520,"title":"When Choosing a Date In Datepicker with Custom Validation, Date Isn't Valididated Until Datepicker Loses Focus","user":{"login":"Blackbaud-DanielHiggins","id":17032145,"avatar_url":"https://avatars.githubusercontent.com/u/17032145?v=3","gravatar_id":"","url":"https://api.github.com/users/Blackbaud-DanielHiggins","html_url":"https://github.com/Blackbaud-DanielHiggins","followers_url":"https://api.github.com/users/Blackbaud-DanielHiggins/followers","following_url":"https://api.github.com/users/Blackbaud-DanielHiggins/following{/other_user}","gists_url":"https://api.github.com/users/Blackbaud-DanielHiggins/gists{/gist_id}","starred_url":"https://api.github.com/users/Blackbaud-DanielHiggins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blackbaud-DanielHiggins/subscriptions","organizations_url":"https://api.github.com/users/Blackbaud-DanielHiggins/orgs","repos_url":"https://api.github.com/users/Blackbaud-DanielHiggins/repos","events_url":"https://api.github.com/users/Blackbaud-DanielHiggins/events{/privacy}","received_events_url":"https://api.github.com/users/Blackbaud-DanielHiggins/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/blackbaud/skyux/labels/bb-datepicker","name":"bb-datepicker","color":"eb6455"}],"state":"closed","locked":false,"assignee":{"login":"Blackbaud-PatrickOFriel","id":11620552,"avatar_url":"https://avatars.githubusercontent.com/u/11620552?v=3","gravatar_id":"","url":"https://api.github.com/users/Blackbaud-PatrickOFriel","html_url":"https://github.com/Blackbaud-PatrickOFriel","followers_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/followers","following_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/following{/other_user}","gists_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/gists{/gist_id}","starred_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/subscriptions","organizations_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/orgs","repos_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/repos","events_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/events{/privacy}","received_events_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/blackbaud/skyux/milestones/23","html_url":"https://github.com/blackbaud/skyux/milestones/Block%203%20Sprint%201%20-%204/29/2016","labels_url":"https://api.github.com/repos/blackbaud/skyux/milestones/23/labels","id":1729075,"number":23,"title":"Block 3 Sprint 1 - 4/29/2016","description":"","creator":{"login":"Blackbaud-PatrickOFriel","id":11620552,"avatar_url":"https://avatars.githubusercontent.com/u/11620552?v=3","gravatar_id":"","url":"https://api.github.com/users/Blackbaud-PatrickOFriel","html_url":"https://github.com/Blackbaud-PatrickOFriel","followers_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/followers","following_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/following{/other_user}","gists_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/gists{/gist_id}","starred_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/subscriptions","organizations_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/orgs","repos_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/repos","events_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/events{/privacy}","received_events_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":4,"state":"open","created_at":"2016-04-25T14:01:36Z","updated_at":"2016-05-02T16:05:39Z","due_on":"2016-04-29T04:00:00Z","closed_at":null},"comments":1,"created_at":"2016-04-22T14:51:00Z","updated_at":"2016-05-02T16:05:39Z","closed_at":"2016-05-02T16:05:39Z","body":"### Expected behavior\r\nWhen a user is interacting with a datepicker with bb-custom-validation set and the user selects a date using the calendar control, clicking a date should trigger validation.\r\n\r\n### Actual behavior\r\nThe custom validation method is only triggered when the datepicker loses focus.\r\n\r\n### Steps to reproduce\r\n\r\n1. Have a datepicker with bb-custom-validation set on a form and have the bb-custom-validation method be asynchronous\r\n2. Select a date using the calendar control\r\n3. Click a button to trigger form submit\r\n4. Notice that the form isn't valid yet because the validation is still in progress.  The form submit button has to be clicked again to actually submit the form, causing confusion for the user.\r\n\r\n### Plunker\r\nhttp://plnkr.co/edit/Bqx5PR?p=preview"},"comment":{"url":"https://api.github.com/repos/blackbaud/skyux/issues/comments/216278033","html_url":"https://github.com/blackbaud/skyux/issues/520#issuecomment-216278033","issue_url":"https://api.github.com/repos/blackbaud/skyux/issues/520","id":216278033,"user":{"login":"Blackbaud-PatrickOFriel","id":11620552,"avatar_url":"https://avatars.githubusercontent.com/u/11620552?v=3","gravatar_id":"","url":"https://api.github.com/users/Blackbaud-PatrickOFriel","html_url":"https://github.com/Blackbaud-PatrickOFriel","followers_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/followers","following_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/following{/other_user}","gists_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/gists{/gist_id}","starred_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/subscriptions","organizations_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/orgs","repos_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/repos","events_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/events{/privacy}","received_events_url":"https://api.github.com/users/Blackbaud-PatrickOFriel/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T16:05:39Z","updated_at":"2016-05-02T16:05:39Z","body":"In [v1.5.20](https://github.com/blackbaud/skyux/releases/tag/v1.5.20)"}}