isteven / angular-multi-select

A multi select dropdown directive for AngularJS. Allows you to use HTML tags and CSS in the data. Requires only AngularJS and nothing else.
isteven.github.io/angular-multi-select
MIT License
1.08k stars 518 forks source link

sort items multiselect for active = true #441

Closed alex-oko closed 8 years ago

alex-oko commented 8 years ago

I wonder if there is a way of ordering the internal elements of multiselect, placing on top those who have been selected and to bring them in alphabetical order. ???

isteven commented 8 years ago

Hi @alex-oko ,

Unfortunately there's no such feature.

molerat619 commented 8 years ago

Too bad, I am also looking for this. Can you suggest an approach?

Intuitively I would start sorting my input model array. Using the orderBy filter could be cool, too.

arturouce commented 7 years ago

Hi, is very simply i customize code and here is the plugin customized

isteven-multi-select-customized.zip

greetings