{"action":"opened","issue":{"url":"https://api.github.com/repos/chmln/flatpickr/issues/1028","repository_url":"https://api.github.com/repos/chmln/flatpickr","labels_url":"https://api.github.com/repos/chmln/flatpickr/issues/1028/labels{/name}","comments_url":"https://api.github.com/repos/chmln/flatpickr/issues/1028/comments","events_url":"https://api.github.com/repos/chmln/flatpickr/issues/1028/events","html_url":"https://github.com/chmln/flatpickr/issues/1028","id":258131788,"number":1028,"title":"Time Picker not firing onChange","user":{"login":"nichr-upenn","id":23241278,"avatar_url":"https://avatars1.githubusercontent.com/u/23241278?v=4","gravatar_id":"","url":"https://api.github.com/users/nichr-upenn","html_url":"https://github.com/nichr-upenn","followers_url":"https://api.github.com/users/nichr-upenn/followers","following_url":"https://api.github.com/users/nichr-upenn/following{/other_user}","gists_url":"https://api.github.com/users/nichr-upenn/gists{/gist_id}","starred_url":"https://api.github.com/users/nichr-upenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nichr-upenn/subscriptions","organizations_url":"https://api.github.com/users/nichr-upenn/orgs","repos_url":"https://api.github.com/users/nichr-upenn/repos","events_url":"https://api.github.com/users/nichr-upenn/events{/privacy}","received_events_url":"https://api.github.com/users/nichr-upenn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-15T18:51:27Z","updated_at":"2017-09-15T18:51:27Z","closed_at":null,"author_association":"NONE","body":"When using a Time Picker like so:\r\n```\r\n<input type=\"text\" id=\"time\">\r\n...\r\nflatpickr(\"#time\", {\r\n  enableTime:true,\r\n  noCalendar: true,\r\n  onChange: handleTimeChange\r\n});\r\nfunction handleTimeChange(...args){\r\n  console.log(args);\r\n}\r\n```\r\nonChange is only fired if when clicking the time zone button. onClose fires as expected so it's suitable temporary a workaround.\r\n\r\n## Your Environment\r\n\r\n* flatpickr version used: 3.0.7\r\n* Browser name and version: Chrome 60.0.3112.113\r\n"}}
{"actor":{"display_login":"nichr-upenn"}}