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

Cannot select initial value in case search-enabled="false" #1653

Closed
peterreisz opened this issue Jun 13, 2016 · 7 comments
Closed

Cannot select initial value in case search-enabled="false" #1653

peterreisz opened this issue Jun 13, 2016 · 7 comments

Comments

@peterreisz
Copy link

Create a simple ui-select with search-enabled="false" option and set an initial value via ng-model.
Open the ui-select: the initial value is selected, but not shown in the list.
If I select another value, I cannot select the initial value again.
It works fine in case there is no initial value.
The previous version (0.17.1) also works fine.

Plunkr: http://plnkr.co/edit/s9NbZwbonSCLAIF3JK39?p=preview

Angular.js: v1.5.6
Bootstrap: v3.3.6
Ui-select: v0.18.0

@peterreisz
Copy link
Author

I've just found the removeSelected feature introduced in the version 0.18.0.
I think this should only affect the multiselect version. Turning it off solves the problem.

@gilluminate
Copy link

Having the same issue. +1

@kaareloun
Copy link

+1

@Jefiozie
Copy link
Contributor

Is this not a duplicate of #1672?

@gilluminate
Copy link

gilluminate commented Jun 30, 2016

well, since this thread started 17 days ago, and that one started 10 days ago...I'd wager that it is a duplicate of this. 😆

@Jefiozie
Copy link
Contributor

Sorry for that..but the good thing is that there 's a fix now just wait for a release.

@user378230
Copy link
Contributor

Should be resolved as of v0.18.1 see PR linked in #1672

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

5 participants