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.

UI-Select not updating currently selected entry when list changes #1944

Open
@hubnerd

Description

@hubnerd

Bug description:

When refreshing the choice list, to a new list with new entries. UI-Select does update the list with the new entries but changing to the current selected entry using ngModel does not select the entry therefore it does not update what is currently selected.

Link to minimally-working plunker that reproduces the issue:

https://embed.plnkr.co/Xa40ujT5qnl8JVz44ch1/

Select Adam from the list and then click the button. Clicking on the list will show the new entries but the current selected entry is old and stale.

Version of Angular, UI-Select

Angular: 1.6.3

UI-Select: Latest from Mar 20, 2017 and 0.9.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions