angular-cn/modules/angular2/test
vsavkin 7343ef04ae feat(forms): remove controlsErrors
BREAKING CHANGE

Previously, the controlsErrors getter of ControlGroup and ControlArray returned the errors of their direct children. This was confusing because the result did not include the errors of nested children (ControlGroup -> ControlGroup -> Control). Making controlsErrors to include such errors would require inventing some custom serialization format, which applications would have to understand.

Since controlsErrors was just a convenience method, and it was causing confusing, we are removing it. If you want to get the errors of the whole form serialized into a single object, you can manually traverse the form and accumulate the errors. This way you have more control over how the errors are serialized.

Closes #5102
2015-11-06 01:47:37 +00:00
..
animate refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
common feat(forms): remove controlsErrors 2015-11-06 01:47:37 +00:00
compiler chore(core): move compiler out of core 2015-11-05 14:44:52 -08:00
core refactor(core): move directives, pipes, and forms into common 2015-11-05 23:00:32 +00:00
http fix(http): use Response for JSONP errors 2015-11-04 19:19:50 +00:00
mock refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
router chore(core): move compiler out of core 2015-11-05 14:44:52 -08:00
symbol_inspector refactor(dart): Format Dart code 2015-10-20 17:39:37 +00:00
testing chore(core): move compiler out of core 2015-11-05 14:44:52 -08:00
tools refactor(core): Move LifeCycle functionality into ApplicationRef. 2015-10-29 22:28:30 +00:00
upgrade chore(ngUpgrade): Move into Angular2 2015-10-31 20:48:27 -07:00
web_workers chore(test): rename RootTestComponent to ComponentFixture 2015-11-03 14:56:22 -08:00
public_api_spec.ts feat(forms): remove controlsErrors 2015-11-06 01:47:37 +00:00