Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Watching model for programmatic changes results in wrong model value #128

Open
@alexey-pimenov

Description

@alexey-pimenov

Hello,
I'm using angular 1.2.5 , select2 3.4.5 and angular-ui-select2 0.0.5

And when I using multiple select2 with formatResults,formatSelection options
then after selection model value consists from array of data objects id's.
But not from selected objects as it should.

Here's the plunkr demonstrating issue. I removed watcher for the first combo.
http://plnkr.co/edit/6RjAjK3LJsSJioCqH7Bf?p=preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions