{"action":"created","issue":{"url":"https://api.github.com/repos/brianreavis/selectize.js/issues/687","labels_url":"https://api.github.com/repos/brianreavis/selectize.js/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/brianreavis/selectize.js/issues/687/comments","events_url":"https://api.github.com/repos/brianreavis/selectize.js/issues/687/events","html_url":"https://github.com/brianreavis/selectize.js/pull/687","id":55317867,"number":687,"title":"suppressAddDuplicate option","user":{"login":"duncanbeevers","id":7367,"avatar_url":"https://avatars.githubusercontent.com/u/7367?v=3","gravatar_id":"","url":"https://api.github.com/users/duncanbeevers","html_url":"https://github.com/duncanbeevers","followers_url":"https://api.github.com/users/duncanbeevers/followers","following_url":"https://api.github.com/users/duncanbeevers/following{/other_user}","gists_url":"https://api.github.com/users/duncanbeevers/gists{/gist_id}","starred_url":"https://api.github.com/users/duncanbeevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duncanbeevers/subscriptions","organizations_url":"https://api.github.com/users/duncanbeevers/orgs","repos_url":"https://api.github.com/users/duncanbeevers/repos","events_url":"https://api.github.com/users/duncanbeevers/events{/privacy}","received_events_url":"https://api.github.com/users/duncanbeevers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-23T18:54:07Z","updated_at":"2015-01-27T08:33:28Z","closed_at":"2015-01-27T08:33:28Z","pull_request":{"url":"https://api.github.com/repos/brianreavis/selectize.js/pulls/687","html_url":"https://github.com/brianreavis/selectize.js/pull/687","diff_url":"https://github.com/brianreavis/selectize.js/pull/687.diff","patch_url":"https://github.com/brianreavis/selectize.js/pull/687.patch"},"body":"Hides \"Add...\" control when the entry already exists in the known options"},"comment":{"url":"https://api.github.com/repos/brianreavis/selectize.js/issues/comments/71608911","html_url":"https://github.com/brianreavis/selectize.js/pull/687#issuecomment-71608911","issue_url":"https://api.github.com/repos/brianreavis/selectize.js/issues/687","id":71608911,"user":{"login":"brianreavis","id":118480,"avatar_url":"https://avatars.githubusercontent.com/u/118480?v=3","gravatar_id":"","url":"https://api.github.com/users/brianreavis","html_url":"https://github.com/brianreavis","followers_url":"https://api.github.com/users/brianreavis/followers","following_url":"https://api.github.com/users/brianreavis/following{/other_user}","gists_url":"https://api.github.com/users/brianreavis/gists{/gist_id}","starred_url":"https://api.github.com/users/brianreavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianreavis/subscriptions","organizations_url":"https://api.github.com/users/brianreavis/orgs","repos_url":"https://api.github.com/users/brianreavis/repos","events_url":"https://api.github.com/users/brianreavis/events{/privacy}","received_events_url":"https://api.github.com/users/brianreavis/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T08:33:28Z","updated_at":"2015-01-27T08:33:28Z","body":"This is what the [createFilter](https://github.com/brianreavis/selectize.js/blob/master/docs/usage.md) setting is for. It can't always be assumed that an option's value will by the input text.\r\n\r\n```js\r\n{ createFilter: function(input) { return this.items.indexOf(input) > -1; } }\r\n``` "}}