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.

bug on ui-select multiple #1762

@aibekmamatov

Description

@aibekmamatov

Bug description:

when use multiple select like this:

<ui-select ng-model="selected_item_id" multiple="true">
  <ui-select-matches>{{$item.name}}</ui-select-matches>
  <ui-select-choices repeat='item.id as item in items'>{{item.name}}</ui-select-choices>
</ui-select>

it always select match of selected_item_id's last value
and on first initialise it select last item of repeated items

Link to minimally-working plunker that reproduces the issue: link

Version of Angular, UI-Select

Angular: 1.5.8

UI-Select: 0.19.1

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