angular/angular.js — Issue #741: multiselect with a 'object literal' as ng:model
Author: Amnesi4c
Created: 2012-02-03 19:10:31+00:00
State: open

http://jsfiddle.net/Amnesiac/9YERP/56/

When I select multiple items from the second box(click and drag) the model is not updated correctly. However, it works well in the first multiselect box.

Both the multiselect boxes are backed by an Object literal for model, the difference is:

The first multiselect uses the Object lieral's value as the value for the multiselect box.

While the second multiselect uses the Object lieral's key as the value for the multiselect box.

Thanks,
Chris.