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-disable-choice modifies choice objects #656

Closed
@dcopp

Description

@dcopp

When using a list of objects, the property _uiSelectChoiceDisabled is added to each item.

Plunker: http://plnkr.co/edit/uijTx559uQyRtVuBscj5?p=preview

Click the select control to see the effect in the json dump below it.

Either this side-effect should be documented (if by design ui-select "owns" the list given) or ui-select should not pollute the list elements with its own data.

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