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.

[Example] Automatically select if only one element #2153

Open
@dsnoeck

Description

@dsnoeck

Bug description:

Example of a custom directive which automatically select the only entry if the ui-select has only one element.

Link to minimally-working plunker that reproduces the issue:

http://plnkr.co/edit/2JUXBErSJYDJBKhv3XuC?p=preview

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

Angular: 1.7.2
UI-Select: 0.19.7

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