{"action":"created","issue":{"url":"https://api.github.com/repos/lcdsantos/jQuery-Selectric/issues/118","repository_url":"https://api.github.com/repos/lcdsantos/jQuery-Selectric","labels_url":"https://api.github.com/repos/lcdsantos/jQuery-Selectric/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/lcdsantos/jQuery-Selectric/issues/118/comments","events_url":"https://api.github.com/repos/lcdsantos/jQuery-Selectric/issues/118/events","html_url":"https://github.com/lcdsantos/jQuery-Selectric/issues/118","id":173144790,"number":118,"title":"Change on hidden select fired even when selection did not change","user":{"login":"muhkuh2005","id":4625629,"avatar_url":"https://avatars.githubusercontent.com/u/4625629?v=3","gravatar_id":"","url":"https://api.github.com/users/muhkuh2005","html_url":"https://github.com/muhkuh2005","followers_url":"https://api.github.com/users/muhkuh2005/followers","following_url":"https://api.github.com/users/muhkuh2005/following{/other_user}","gists_url":"https://api.github.com/users/muhkuh2005/gists{/gist_id}","starred_url":"https://api.github.com/users/muhkuh2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhkuh2005/subscriptions","organizations_url":"https://api.github.com/users/muhkuh2005/orgs","repos_url":"https://api.github.com/users/muhkuh2005/repos","events_url":"https://api.github.com/users/muhkuh2005/events{/privacy}","received_events_url":"https://api.github.com/users/muhkuh2005/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-25T08:39:44Z","updated_at":"2016-09-08T09:23:12Z","closed_at":null,"body":"I just encountered the to me strange behaviour that the change event ist fired on the original select even when the Selectric selection did not change.\r\n(As Example when the viewer clicks on a blank space on the website)\r\n\r\nI solved it by the following options:\r\n```javascript\r\n            onBeforeChange: function(select, selectric) {\r\n                $(select).data('currIndex', selectric.state.currValue);\r\n            },\r\n            onChange: function(select, selectric) {\r\n                if($(select).data('currIndex') == selectric.state.currValue)\r\n                    return false;\r\n                $(select).change();\r\n            }\r\n```\r\n\r\nBut this doesn't feel like the right aproach..."},"comment":{"url":"https://api.github.com/repos/lcdsantos/jQuery-Selectric/issues/comments/245542204","html_url":"https://github.com/lcdsantos/jQuery-Selectric/issues/118#issuecomment-245542204","issue_url":"https://api.github.com/repos/lcdsantos/jQuery-Selectric/issues/118","id":245542204,"user":{"login":"Leksat","id":989015,"avatar_url":"https://avatars.githubusercontent.com/u/989015?v=3","gravatar_id":"","url":"https://api.github.com/users/Leksat","html_url":"https://github.com/Leksat","followers_url":"https://api.github.com/users/Leksat/followers","following_url":"https://api.github.com/users/Leksat/following{/other_user}","gists_url":"https://api.github.com/users/Leksat/gists{/gist_id}","starred_url":"https://api.github.com/users/Leksat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leksat/subscriptions","organizations_url":"https://api.github.com/users/Leksat/orgs","repos_url":"https://api.github.com/users/Leksat/repos","events_url":"https://api.github.com/users/Leksat/events{/privacy}","received_events_url":"https://api.github.com/users/Leksat/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T09:23:12Z","updated_at":"2016-09-08T09:23:12Z","body":"I can confirm the bug exists in v1.10.1\r\n\r\n@muhkuh2005 thanks for the workaround!"}}
{"actor":{"display_login":"Leksat"}}