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

Select2 Multiple prevent sorting? #12

Open
@aziz

Description

@aziz

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.

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