angular-docs-cn/modules
Ted Sander 28d88c5b12 feat(validators): Allow errors at both the group/array level or their children
Allow ControlGroups and ControlArrays to contain errors from their level, and
errors from their children. [Design Doc](https://docs.google.com/document/d/1EnJ3-_iFpVKFz1ifN1LkXSGQ7h3A72OQGry2g8eo7IA/edit?pli=1#heading=h.j53rt81eegm4)

BREAKING CHANGE: errors format has changed from validators. Now errors from
a control or an array's children are prefixed with 'controls' while errors
from the object itself are left at the root level.
Example:
Given a Control group as follows:
var group = new ControlGroup({
  login: new Control("", required),
  password: new Control("", required),
  passwordConfirm: new Control("", required)
});

Before:
group.errors

{
  login: {required: true},
  password: {required: true},
  passwordConfirm: {required: true},
}

After:
group.errors

{
  controls: {
    login: {required: true},
    password: {required: true},
    passwordConfirm: {required: true},
  }
}
2015-10-26 11:48:32 -07:00
..
angular1_router docs(chore): make styles consistent for API doc headings 2015-10-19 14:58:22 +00:00
angular2 feat(validators): Allow errors at both the group/array level or their children 2015-10-26 11:48:32 -07:00
angular2_material fix(testing): let DOM adapter dictate XHR implementation for tests 2015-10-15 12:12:27 -07:00
benchmarks refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
benchmarks_external refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
benchpress chore: rename modules/examples to modules/playground 2015-10-18 11:48:43 +00:00
playground feat(ngUpgrade): simple example 2015-10-19 12:43:28 -07:00
upgrade docs(chore): make styles consistent for API doc headings 2015-10-19 14:58:22 +00:00