b3dcff0cc1
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 17:55:02 -08:00
124267c87a
fix(forms): introduce checkbox required validator
...
Closes #11459
Closes #13364
2016-12-14 17:52:53 -08:00
547bfa92ef
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 17:52:02 -08:00
d40bbf4d5c
fix(core): properly destroy embedded Views attatched to ApplicationRef ( #13459 )
...
Fixes #13062
2016-12-14 17:51:56 -08:00
94b7031fe9
refactor: format & lint
2016-12-14 17:51:48 -08:00
df0bf1dd74
chore(internal API): introduce an internal API for ngtools. ( #13415 )
2016-12-14 17:51:40 -08:00
c8a9b70890
fix(compiler): generated CSS files suffixed with ngstyle. ( #13353 )
...
Mirrors factories which ends in `ngfactory`.
Closes #13141 .
2016-12-14 17:50:29 -08:00
efa2d80df8
fix(compiler): make sure provider values with name
property don’t break.
...
Fixes #13394
Closes #13445
2016-12-14 17:50:22 -08:00
a58e5efd09
test(i18n): fix a typo in the reference xmb ( #13441 )
2016-12-14 17:50:12 -08:00
86cf0ef892
refactor: remove intl from facades ( #13404 )
...
The existing intl.ts file is not a facade but
rather a set of utils used by i18n-related pipes only.
As such moving it back to common module so those utils
are not used accidently from other places.
2016-12-14 17:50:02 -08:00
5c568fab86
test(upgrade): fix failing test in browsers which do not support RAF
...
closes #13399
2016-12-14 17:49:52 -08:00
566104504c
ci(browser providers): update browsers in SL and BS ( #13431 )
2016-12-14 17:49:37 -08:00
307d305b2d
fix(compiler): narrow the span reported for invalid pipes
...
fixes #13326
closes #13411
2016-12-14 17:49:05 -08:00
0a7364feea
fix(language-service): correctly type undefined
...
fixes #13412
closes #13414
2016-12-14 17:40:58 -08:00
4544b1d7a6
fix(compiler): xmb <ph>
tags should not self close ( #13413 )
2016-12-14 17:39:51 -08:00
9e0e6b59d1
docs(core): update OnDestroy description ( #13369 )
...
Closes #11228
2016-12-14 17:39:45 -08:00
14dd2b367a
fix(language-service): treat string unions as strings ( #13406 )
...
Fixes #13403
2016-12-14 17:39:36 -08:00
91eb8914dd
build: update the package list of the symlinks scripts for Windows ( #13408 )
2016-12-14 17:39:30 -08:00
77823d721f
refactor: format and lint code
2016-12-14 17:38:31 -08:00
2afe2d107f
docs(Location): updating Location docs and adding example
...
closes #11500
2016-12-14 17:38:22 -08:00
17f40fb75f
chore: Add @types/systemjs
2016-12-14 17:37:43 -08:00
98936fdf16
chore: convert hash_location_strategy example to a tested spec
2016-12-14 17:37:33 -08:00
7383e4a801
fix(forms): fix Validators.min/maxLength with FormArray ( #13095 )
...
Fixes #13089
2016-12-14 17:37:18 -08:00
65c9b5b6aa
fix(http): create a copy of headers when merge options ( #13365 )
...
Closes #11980
2016-12-14 17:36:48 -08:00
5fab8710cb
fix(dom_adapter): remove logError from logGroup ( #12925 )
2016-12-14 17:35:12 -08:00
f106a18b96
fix(http): check response body text against undefined ( #13017 )
2016-12-14 17:35:05 -08:00
8db184d349
fix(compiler): support dotted property binding
...
fixes angular/flex-layout#34
2016-12-14 17:31:08 -08:00
c18eb298eb
test(Selector): add a test for dotted attribute names
2016-12-14 17:31:00 -08:00
3f4aa59cfa
refactor(Compiler): cleanup
2016-12-14 17:30:50 -08:00
79728b4c41
fix(compiler): fix PR 13322 ( #13331 )
2016-12-14 17:30:40 -08:00
413167ab1b
style: clang-format the code
2016-12-14 17:26:52 -08:00
203cc7e1f1
fix: Better instructions on running examples and their tests
2016-12-14 17:23:11 -08:00
b0cd514709
fix: Better error when directive not listed in NgModule.declarations
2016-12-14 17:22:58 -08:00
392c9ac214
fix(selector): SelectorMatcher match elements with :not selector ( #12977 )
2016-12-14 17:21:34 -08:00
a26e054857
fix(animations): always cleanup players after they have finished internally ( #13334 )
...
Closes #13333
Closes #13334
2016-12-14 17:21:23 -08:00
c0b001a6af
refactor(router): misc refactoring ( #13330 )
2016-12-14 17:21:09 -08:00
c8c1f22f9c
refactor(router): simplify regexp
...
closes #11373
closes #13329
2016-12-14 17:20:47 -08:00
e4d5a5f003
fix(router): add support for query params with mulitple values
...
closes #11373
2016-12-14 17:20:22 -08:00
03d9de33a1
Revert "fix(compiler): fix transpiled ES5 code ( #13322 )"
...
This reverts commit 4398056146
.
2016-12-14 17:20:14 -08:00
a8a80cf523
doc: update triage owners for language service and router ( #13325 )
2016-12-14 17:19:50 -08:00
6c1d7908d5
fix(compiler): fix transpiled ES5 code ( #13322 )
...
fixes #13301
The inner class would transpile to a nested function declaration which is not
allowed in ES5.
See http://eslint.org/docs/rules/no-inner-declarations
2016-12-14 17:18:12 -08:00
9aab6d24eb
build(tslint): enable no-inner-declarations ( #13316 )
2016-12-14 17:18:02 -08:00
5ee8155e4e
fix(router): Use T type in Resolve interface ( #13242 )
2016-12-14 17:17:45 -08:00
21de0f239d
docs(changelog): fix a typo ( #13298 )
2016-12-14 17:16:49 -08:00
13b41bd631
chore(release): update version of tsc-wrapped to 0.4.2
2.3.0
2016-12-07 13:54:22 -08:00
f3524af68f
docs(changelog): add changelog for 2.3.0
2016-12-07 11:21:13 -08:00
0a56f4ea82
chore(release): cut the 2.3.0 release
2016-12-07 10:58:29 -08:00
cf52284ac3
docs(changelog): fix typo AplicationRef => ApplicationRef ( #13284 )
...
docs(changelog): fix typo AplicationRef => ApplicationRef
2016-12-07 10:06:40 -08:00
4a09c81724
fix(language-service): do not throw for invalid metadata ( #13261 )
...
Fixes #13255
2016-12-06 17:11:09 -08:00
16efb13dd1
fix: display framework version on bootstrapped component ( #13252 )
2016-12-06 16:21:07 -08:00