{"action":"created","issue":{"url":"https://api.github.com/repos/select2/select2/issues/4934","repository_url":"https://api.github.com/repos/select2/select2","labels_url":"https://api.github.com/repos/select2/select2/issues/4934/labels{/name}","comments_url":"https://api.github.com/repos/select2/select2/issues/4934/comments","events_url":"https://api.github.com/repos/select2/select2/issues/4934/events","html_url":"https://github.com/select2/select2/issues/4934","id":233124314,"node_id":"MDU6SXNzdWUyMzMxMjQzMTQ=","number":4934,"title":"Trigger event when selecting current option?","user":{"login":"seabasss","id":5251896,"node_id":"MDQ6VXNlcjUyNTE4OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/5251896?v=4","gravatar_id":"","url":"https://api.github.com/users/seabasss","html_url":"https://github.com/seabasss","followers_url":"https://api.github.com/users/seabasss/followers","following_url":"https://api.github.com/users/seabasss/following{/other_user}","gists_url":"https://api.github.com/users/seabasss/gists{/gist_id}","starred_url":"https://api.github.com/users/seabasss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seabasss/subscriptions","organizations_url":"https://api.github.com/users/seabasss/orgs","repos_url":"https://api.github.com/users/seabasss/repos","events_url":"https://api.github.com/users/seabasss/events{/privacy}","received_events_url":"https://api.github.com/users/seabasss/received_events","type":"User","site_admin":false},"labels":[{"id":685035759,"node_id":"MDU6TGFiZWw2ODUwMzU3NTk=","url":"https://api.github.com/repos/select2/select2/labels/feature%20request","name":"feature request","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-02T09:19:30Z","updated_at":"2018-09-17T23:20:46Z","closed_at":"2018-09-17T23:20:46Z","author_association":"NONE","body":"Can I trigger an event when selecting the already selected option?\r\n\r\non('select2:select') doesn't seem to work for the highlighted option, it just closes the dropdown menu.\r\n\r\nWhen I try on('select2:close') it executes before my on('select2:select') that works for the not highlighted options so I can't use that either. And an onclick on \".select2-results__option--highlighted\" executes after it closes the dropdown so that didn't work either.\r\n\r\nIdeas? Thanks!"},"comment":{"url":"https://api.github.com/repos/select2/select2/issues/comments/422202642","html_url":"https://github.com/select2/select2/issues/4934#issuecomment-422202642","issue_url":"https://api.github.com/repos/select2/select2/issues/4934","id":422202642,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjIwMjY0Mg==","user":{"login":"pedrofurtado","id":10530520,"node_id":"MDQ6VXNlcjEwNTMwNTIw","avatar_url":"https://avatars2.githubusercontent.com/u/10530520?v=4","gravatar_id":"","url":"https://api.github.com/users/pedrofurtado","html_url":"https://github.com/pedrofurtado","followers_url":"https://api.github.com/users/pedrofurtado/followers","following_url":"https://api.github.com/users/pedrofurtado/following{/other_user}","gists_url":"https://api.github.com/users/pedrofurtado/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrofurtado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrofurtado/subscriptions","organizations_url":"https://api.github.com/users/pedrofurtado/orgs","repos_url":"https://api.github.com/users/pedrofurtado/repos","events_url":"https://api.github.com/users/pedrofurtado/events{/privacy}","received_events_url":"https://api.github.com/users/pedrofurtado/received_events","type":"User","site_admin":false},"created_at":"2018-09-17T23:20:45Z","updated_at":"2018-09-17T23:20:45Z","author_association":"MEMBER","body":"We don't have immediate plans to provide this. We are focused now to fix UI bugs. But if you open a PR with unit tests, I will be glad to review and approve if everything is ok."}}
{"actor":{"display_login":"pedrofurtado"}}