OptimalBPM / angular-schema-form-dynamic-select

AngularStrap and AngularUI dynamic select implementation(static/sync/async/http, filters) for Angular Schema Form
MIT License
55 stars 45 forks source link

Remove already selected items from asynchronously fetched data in multi-selects. #95

Closed ghost closed 7 years ago

ghost commented 8 years ago

The bug that this change fixes is easily reproduced on the Example page at http://demo.optimalbpm.se/angular-schema-form-dynamic-select/.

In the "Multi select for UI-select" example: 1) Deselect the selected items 2) In the select, type "t" 3) Select "text1" 4) In the select, again type "t", and wait for the async refresh to complete 5) Note that "text1" now reappears in the list of options 6) Select "text1" 7) Notice the "[ngRepeat:dupes]" error in the console