angular-cn/modules/@angular/forms/test
gary-b 7b0a86718c fix (forms): clear selected options when model is not an array (#12519)
When an invalid model value (eg empty string) was preset ngModel on
select[multiple] would throw an error, which is inconsistent with how it
works on other user input elements. Setting the model value to null or
undefined would also have no effect on what was already selected in the
UI. Fix this by clearing selected options when model set to null,
undefined or a type other than Array.

Closes #11926
2016-12-14 08:34:19 -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 feat(forms): add novalidate by default (#13092) 2016-12-12 11:17:42 -08:00
spies.ts chore(lint): remove unused imports (#11923) 2016-09-27 17:12:25 -07:00
template_integration_spec.ts fix (forms): clear selected options when model is not an array (#12519) 2016-12-14 08:34:19 -08:00
validators_spec.ts fix(forms): fix Validators.min/maxLength with FormArray (#13095) 2016-12-12 11:17:12 -08:00