{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/1820","repository_url":"https://api.github.com/repos/angular-ui/ui-select","labels_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1820/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1820/comments","events_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1820/events","html_url":"https://github.com/angular-ui/ui-select/issues/1820","id":181869540,"number":1820,"title":"Multiple Tagging with \"Array of object\" is allowing insertion of duplicate entries.","user":{"login":"Rahul-Sagore","id":3587851,"avatar_url":"https://avatars.githubusercontent.com/u/3587851?v=3","gravatar_id":"","url":"https://api.github.com/users/Rahul-Sagore","html_url":"https://github.com/Rahul-Sagore","followers_url":"https://api.github.com/users/Rahul-Sagore/followers","following_url":"https://api.github.com/users/Rahul-Sagore/following{/other_user}","gists_url":"https://api.github.com/users/Rahul-Sagore/gists{/gist_id}","starred_url":"https://api.github.com/users/Rahul-Sagore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rahul-Sagore/subscriptions","organizations_url":"https://api.github.com/users/Rahul-Sagore/orgs","repos_url":"https://api.github.com/users/Rahul-Sagore/repos","events_url":"https://api.github.com/users/Rahul-Sagore/events{/privacy}","received_events_url":"https://api.github.com/users/Rahul-Sagore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-09T06:35:05Z","updated_at":"2016-10-14T17:53:31Z","closed_at":null,"body":"### Bug description:\r\nI created tagging feature, where user can select from existing stored tags or create new if not existed. So if I have one tag \"Algorithm\" in dropdown, and user type \"algo\" then it allows creating new one. But if user type \"algorithm\" or \"Algorithm\", then both existing tag and \"create new\" displays. So it should allow insertion of new tag only if it is not already existing tag.\r\n<img width=\"440\" alt=\"screen shot 2016-09-25 at 12 59 18 pm\" src=\"https://cloud.githubusercontent.com/assets/3587851/19218419/223ca6e0-8e17-11e6-8e1c-ed0e0a7c9b63.png\">\r\n\r\nThis is the array, which populates the ui-select:\r\n`\r\n[ {uid: \"0x943835545\", name: \"Algorithm\"}]\r\n`\r\n\r\nProbably it should allow to filter on one property of object, for example name of the tag and ignore others. And if tag name exist then \"Create new\" label should disappear or disabled.\r\n\r\n### Link to minimally-working plunker that reproduces the issue:\r\nThis is happening on official [Tagging example](http://angular-ui.github.io/ui-select/demo-tagging.html) as well. This is someone else's [plunker link](http://embed.plnkr.co/szYtoGgyFZVXAx12Y13c/). Check array of object example.\r\n\r\n### Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS\r\n\r\nAngular: AngularJS v1.3.13\r\n\r\nUI-Select: 0.19.3\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/comments/253873504","html_url":"https://github.com/angular-ui/ui-select/issues/1820#issuecomment-253873504","issue_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1820","id":253873504,"user":{"login":"Jefiozie","id":17835373,"avatar_url":"https://avatars.githubusercontent.com/u/17835373?v=3","gravatar_id":"","url":"https://api.github.com/users/Jefiozie","html_url":"https://github.com/Jefiozie","followers_url":"https://api.github.com/users/Jefiozie/followers","following_url":"https://api.github.com/users/Jefiozie/following{/other_user}","gists_url":"https://api.github.com/users/Jefiozie/gists{/gist_id}","starred_url":"https://api.github.com/users/Jefiozie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jefiozie/subscriptions","organizations_url":"https://api.github.com/users/Jefiozie/orgs","repos_url":"https://api.github.com/users/Jefiozie/repos","events_url":"https://api.github.com/users/Jefiozie/events{/privacy}","received_events_url":"https://api.github.com/users/Jefiozie/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T17:53:31Z","updated_at":"2016-10-14T17:53:31Z","body":"I had a look at the code but I cannot find any thing that makes it a unique value. Maybe this is something you could implement? I think this will add value to the ui-select."}}
{"actor":{"display_login":"Jefiozie"}}