{"action":"created","issue":{"url":"https://api.github.com/repos/bambora/na-checkoutfields/issues/68","repository_url":"https://api.github.com/repos/bambora/na-checkoutfields","labels_url":"https://api.github.com/repos/bambora/na-checkoutfields/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/bambora/na-checkoutfields/issues/68/comments","events_url":"https://api.github.com/repos/bambora/na-checkoutfields/issues/68/events","html_url":"https://github.com/bambora/na-checkoutfields/issues/68","id":237618946,"number":68,"title":"Event listeners need to be bound","user":{"login":"mlereste","id":10930638,"avatar_url":"https://avatars2.githubusercontent.com/u/10930638?v=3","gravatar_id":"","url":"https://api.github.com/users/mlereste","html_url":"https://github.com/mlereste","followers_url":"https://api.github.com/users/mlereste/followers","following_url":"https://api.github.com/users/mlereste/following{/other_user}","gists_url":"https://api.github.com/users/mlereste/gists{/gist_id}","starred_url":"https://api.github.com/users/mlereste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlereste/subscriptions","organizations_url":"https://api.github.com/users/mlereste/orgs","repos_url":"https://api.github.com/users/mlereste/repos","events_url":"https://api.github.com/users/mlereste/events{/privacy}","received_events_url":"https://api.github.com/users/mlereste/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-21T18:07:50Z","updated_at":"2017-06-21T18:47:38Z","closed_at":null,"body":"Hello,\r\n\r\nMaybe we have a wrong understanding of how this lib works, but here is an issue we encountered. Here are the steps to reproduce:\r\n\r\n- Reproduce/copy the demo.html\r\n- When you type in a field (eg: credit card number), if you type something incorrect the field border becomes red\r\n- Remove the event listener `checkoutFields.on('error', function(event) { ... });`\r\n- When you type in a field (eg: credit card number), if you type something incorrect the field border do not becomes red\r\n\r\nBottom line is: you need to add an event listener (even if the callback function is empty), otherwise the css error/completed/focus/etc classes are not applied.\r\n\r\nIs that a normal/expected behavior?\r\n"},"comment":{"url":"https://api.github.com/repos/bambora/na-checkoutfields/issues/comments/310170704","html_url":"https://github.com/bambora/na-checkoutfields/issues/68#issuecomment-310170704","issue_url":"https://api.github.com/repos/bambora/na-checkoutfields/issues/68","id":310170704,"user":{"login":"e-wipond","id":1832355,"avatar_url":"https://avatars2.githubusercontent.com/u/1832355?v=3","gravatar_id":"","url":"https://api.github.com/users/e-wipond","html_url":"https://github.com/e-wipond","followers_url":"https://api.github.com/users/e-wipond/followers","following_url":"https://api.github.com/users/e-wipond/following{/other_user}","gists_url":"https://api.github.com/users/e-wipond/gists{/gist_id}","starred_url":"https://api.github.com/users/e-wipond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-wipond/subscriptions","organizations_url":"https://api.github.com/users/e-wipond/orgs","repos_url":"https://api.github.com/users/e-wipond/repos","events_url":"https://api.github.com/users/e-wipond/events{/privacy}","received_events_url":"https://api.github.com/users/e-wipond/received_events","type":"User","site_admin":false},"created_at":"2017-06-21T18:47:38Z","updated_at":"2017-06-21T18:47:38Z","body":"It has not been pulled into the dev branch yet."}}
{"actor":{"display_login":"e-wipond"}}