angular-docs-cn/modules/@angular/forms
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
..
src fix (forms): clear selected options when model is not an array (#12519) 2016-12-14 08:34:19 -08:00
test fix (forms): clear selected options when model is not an array (#12519) 2016-12-14 08:34:19 -08:00
index.ts fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00
package.json docs: update descriptions in package.jsons 2016-09-14 16:44:39 -07:00
rollup.config.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
tsconfig-build.json feature(tsc-wrapped): add option for closure compiler JSDoc annotations 2016-11-18 09:37:40 -08:00