waseem02 / jquery-asmselect

Automatically exported from code.google.com/p/jquery-asmselect
0 stars 0 forks source link

Maintain order when selecting values #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

Is there any functionality on the roadmap that will, when selecting values from 
the select, maintain order in the created list based on the order in the 
select? Right now, you can only append or prepend values (insert top, or the 
bottom). 

Basically, if the initial multiple select looks like this:

1. Option 1
2. Option 2
3. Option 3
4. Option 4

Then, if from the list, I select options in this order: 3, 1, 4, 2
The resulting display should still look like this:
Option 1 remove
Option 2 remove
Option 3 remove
Option 4 remove

When, as it currently stands, when selecting in the aforementioned order, and 
'bottom' is the selected insertAt option, the following is produced:
Option 3 remove
Option 1 remove
Option 4 remove
Option 2 remove

Thoughts?

Original issue reported on code.google.com by DrewBDul...@gmail.com on 8 Jan 2013 at 8:43