Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

[Example] Automatically select if only one element #2153

Open
dsnoeck opened this issue Aug 8, 2018 · 0 comments
Open

[Example] Automatically select if only one element #2153

dsnoeck opened this issue Aug 8, 2018 · 0 comments

Comments

@dsnoeck
Copy link

dsnoeck commented Aug 8, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant