{"action":"created","issue":{"url":"https://api.github.com/repos/selectize/selectize.js/issues/1080","repository_url":"https://api.github.com/repos/selectize/selectize.js","labels_url":"https://api.github.com/repos/selectize/selectize.js/issues/1080/labels{/name}","comments_url":"https://api.github.com/repos/selectize/selectize.js/issues/1080/comments","events_url":"https://api.github.com/repos/selectize/selectize.js/issues/1080/events","html_url":"https://github.com/selectize/selectize.js/pull/1080","id":160260236,"number":1080,"title":"clearOptions: Don't remove already selected items","user":{"login":"andrey-lizunov","id":1709731,"avatar_url":"https://avatars.githubusercontent.com/u/1709731?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-lizunov","html_url":"https://github.com/andrey-lizunov","followers_url":"https://api.github.com/users/andrey-lizunov/followers","following_url":"https://api.github.com/users/andrey-lizunov/following{/other_user}","gists_url":"https://api.github.com/users/andrey-lizunov/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-lizunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-lizunov/subscriptions","organizations_url":"https://api.github.com/users/andrey-lizunov/orgs","repos_url":"https://api.github.com/users/andrey-lizunov/repos","events_url":"https://api.github.com/users/andrey-lizunov/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-lizunov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-14T19:09:37Z","updated_at":"2016-06-28T18:07:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/selectize/selectize.js/pulls/1080","html_url":"https://github.com/selectize/selectize.js/pull/1080","diff_url":"https://github.com/selectize/selectize.js/pull/1080.diff","patch_url":"https://github.com/selectize/selectize.js/pull/1080.patch"},"body":"Closed #1079 "},"comment":{"url":"https://api.github.com/repos/selectize/selectize.js/issues/comments/229133073","html_url":"https://github.com/selectize/selectize.js/pull/1080#issuecomment-229133073","issue_url":"https://api.github.com/repos/selectize/selectize.js/issues/1080","id":229133073,"user":{"login":"andrey-lizunov","id":1709731,"avatar_url":"https://avatars.githubusercontent.com/u/1709731?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-lizunov","html_url":"https://github.com/andrey-lizunov","followers_url":"https://api.github.com/users/andrey-lizunov/followers","following_url":"https://api.github.com/users/andrey-lizunov/following{/other_user}","gists_url":"https://api.github.com/users/andrey-lizunov/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-lizunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-lizunov/subscriptions","organizations_url":"https://api.github.com/users/andrey-lizunov/orgs","repos_url":"https://api.github.com/users/andrey-lizunov/repos","events_url":"https://api.github.com/users/andrey-lizunov/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-lizunov/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T18:07:49Z","updated_at":"2016-06-28T18:07:49Z","body":"@joallard I found that selectize accumulates options from previous searches. I upload new list of options remotely from my server and the number of selected items not limited. In this case after several searches in dropdown I have a lot of options connected with old queries which I don't need.\r\nI tryed to call `clearOptions` before upload new list of options, but `clearOptions` calls `clear` function inside and this removes all items which was chosen before.\r\nThe problem that I want to be able to clear just list of options without removing already selected items. I talking about multiple selects."}}
{"actor":{"display_login":"andrey-lizunov"}}