mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
b3dcff0cc1
If you bound an array to select[multiple] via ngModel and subsequently changed the options to select from, the UI would drop any selections made since by the user. This was due to SelectMultipleControlValueAccessor not keeping a reference to the new model arrays it generated when users interacted with the select control. Update code to keep the reference. Closes #12527 Closes #12654