{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/42","labels_url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/42/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/42/events","html_url":"https://github.com/kartik-v/yii2-widget-select2/issues/42","id":84953696,"number":42,"title":"JS error on clear","user":{"login":"RomeroMsk","id":4639951,"avatar_url":"https://avatars.githubusercontent.com/u/4639951?v=3","gravatar_id":"","url":"https://api.github.com/users/RomeroMsk","html_url":"https://github.com/RomeroMsk","followers_url":"https://api.github.com/users/RomeroMsk/followers","following_url":"https://api.github.com/users/RomeroMsk/following{/other_user}","gists_url":"https://api.github.com/users/RomeroMsk/gists{/gist_id}","starred_url":"https://api.github.com/users/RomeroMsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomeroMsk/subscriptions","organizations_url":"https://api.github.com/users/RomeroMsk/orgs","repos_url":"https://api.github.com/users/RomeroMsk/repos","events_url":"https://api.github.com/users/RomeroMsk/events{/privacy}","received_events_url":"https://api.github.com/users/RomeroMsk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-04T07:06:21Z","updated_at":"2015-06-04T07:23:24Z","closed_at":null,"body":"When clicking on clear button JS error will appear:\r\n```\r\nUncaught TypeError: Cannot set property 'prevented' of undefined\r\n```\r\nYou can reproduce it in demos page."},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/comments/108764123","html_url":"https://github.com/kartik-v/yii2-widget-select2/issues/42#issuecomment-108764123","issue_url":"https://api.github.com/repos/kartik-v/yii2-widget-select2/issues/42","id":108764123,"user":{"login":"RomeroMsk","id":4639951,"avatar_url":"https://avatars.githubusercontent.com/u/4639951?v=3","gravatar_id":"","url":"https://api.github.com/users/RomeroMsk","html_url":"https://github.com/RomeroMsk","followers_url":"https://api.github.com/users/RomeroMsk/followers","following_url":"https://api.github.com/users/RomeroMsk/following{/other_user}","gists_url":"https://api.github.com/users/RomeroMsk/gists{/gist_id}","starred_url":"https://api.github.com/users/RomeroMsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomeroMsk/subscriptions","organizations_url":"https://api.github.com/users/RomeroMsk/orgs","repos_url":"https://api.github.com/users/RomeroMsk/repos","events_url":"https://api.github.com/users/RomeroMsk/events{/privacy}","received_events_url":"https://api.github.com/users/RomeroMsk/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T07:23:24Z","updated_at":"2015-06-04T07:23:24Z","body":"I think it was too early to update Select2 to 4.0 in your widget. It has so many bugs..."}}