Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Multiple Tagging with "Array of object" is allowing insertion of duplicate entries. #1820

Open
@Rahul-Sagore

Description

@Rahul-Sagore

Bug description:

I 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.
screen shot 2016-09-25 at 12 59 18 pm

This is the array, which populates the ui-select:
[ {uid: "0x943835545", name: "Algorithm"}]

Probably 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.

Link to minimally-working plunker that reproduces the issue:

This is happening on official Tagging example as well. This is someone else's plunker link. Check array of object example.

Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS

Angular: AngularJS v1.3.13

UI-Select: 0.19.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions