{"action":"opened","issue":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3915","repository_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI","labels_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3915/labels{/name}","comments_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3915/comments","events_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/3915/events","html_url":"https://github.com/Semantic-Org/Semantic-UI/issues/3915","id":147149591,"number":3915,"title":"[Dropdown] - Fires multiple 'change' events when cleared","user":{"login":"neil-s","id":536149,"avatar_url":"https://avatars.githubusercontent.com/u/536149?v=3","gravatar_id":"","url":"https://api.github.com/users/neil-s","html_url":"https://github.com/neil-s","followers_url":"https://api.github.com/users/neil-s/followers","following_url":"https://api.github.com/users/neil-s/following{/other_user}","gists_url":"https://api.github.com/users/neil-s/gists{/gist_id}","starred_url":"https://api.github.com/users/neil-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neil-s/subscriptions","organizations_url":"https://api.github.com/users/neil-s/orgs","repos_url":"https://api.github.com/users/neil-s/repos","events_url":"https://api.github.com/users/neil-s/events{/privacy}","received_events_url":"https://api.github.com/users/neil-s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-09T18:18:37Z","updated_at":"2016-04-09T18:18:37Z","closed_at":null,"body":"**Minimal repro**\r\nhttp://jsbin.com/gaporet/edit?html,js,output\r\nIn the JSbin, hit the 'All' button to see this bug in action.\r\n\r\n**Steps**\r\n1) Select multiple options on a (multiple selection) dropdown.\r\n2) Register a 'change' event handler for a dropdown.\r\n3) Clear the dropdown, with `$(selector).dropdown('clear').\r\n\r\n**Expected**: The change event handler fires once, after the dropdown has an empty value\r\n**Actual**: The handler fires 'n' times, once after each option is deselected.\r\n\r\nI looked at the relevant library code, and it seems like it does correctly set the value to `''`. However, it uses a `module.remove.labels` function that might mess with this, whose declaration I can't find."}}