angular-docs-cn/modules/@angular/forms/test
gary-b 821b8f09d6 fix(forms): ensure select[multiple] retains selections
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
2016-12-14 08:52:07 -08:00
..
directives_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
form_array_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
form_builder_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
form_control_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
form_group_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
reactive_integration_spec.ts fix(forms): introduce checkbox required validator 2016-12-14 08:44:24 -08:00
spies.ts chore(lint): remove unused imports (#11923) 2016-09-27 17:12:25 -07:00
template_integration_spec.ts fix(forms): ensure select[multiple] retains selections 2016-12-14 08:52:07 -08:00
validators_spec.ts fix(forms): introduce checkbox required validator 2016-12-14 08:44:24 -08:00