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

Select2 Multiple prevent sorting? #12

Open
aziz opened this issue May 15, 2013 · 2 comments
Open

Select2 Multiple prevent sorting? #12

aziz opened this issue May 15, 2013 · 2 comments

Comments

@aziz
Copy link

aziz commented May 15, 2013

This issue has not been fixed:

I'm using the Select2 directive as follows

    <select ui-select2 multiple ng-model="things">
      <option ng-repeat="thins in available_things" ng-value="thing">{{thing}}</option>
    </select>

The problem I have is that the directive seems to order the resulting "things" each time I select a thing but the order in which I select things is important to me.

This is not how Select2 behaves normally and I can't find what's causing this. Would appreciate some insight in how to fix this. "things" is just an array of strings.

@ProLoser
Copy link
Member

@migajek
Copy link

migajek commented Dec 26, 2013

Any reason why this was not already included?

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

3 participants