angular-cn/packages
Kara Erickson ebef5e697a feat(forms): add options arg to abstract controls
FormControls, FormGroups, and FormArrays now optionally accept an options
object as their second argument. Validators and async validators can be
passed in as part of this options object (though they can still be passed
in as the second and third arg as before).

```ts
const c = new FormControl(, {
   validators: [Validators.required],
   asyncValidators: [myAsyncValidator]
});
```

This commit also adds support for passing arrays of validators and async
validators to FormGroups and FormArrays, which formerly only accepted
individual functions.

```ts
const g = new FormGroup({
   one: new FormControl()
}, [myPasswordValidator, myOtherValidator]);
```

This change paves the way for adding more options to AbstractControls,
such as more fine-grained control of validation timing.
2017-07-31 11:29:32 -07:00
..
animations feat(animations): support :increment and :decrement transition aliases 2017-07-19 11:24:00 -07:00
benchpress docs(benchpress): fix android broken links (#17568) 2017-07-11 12:54:34 -07:00
common build: update bazel rules to latest (#18289) 2017-07-21 18:09:44 -05:00
compiler fix(compiler): add equiv & disp attributes to Xliff2 ICU placeholders (#18283) 2017-07-25 15:58:53 -05:00
compiler-cli release: cut the 5.0.0-beta.1 release 2017-07-27 14:57:38 -07:00
core perf(core): use native addEventListener for faster rendering. (#18107) 2017-07-25 15:35:44 -05:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
examples fix: Update types for TypeScript nullability support in examples 2017-04-12 11:36:19 -07:00
forms feat(forms): add options arg to abstract controls 2017-07-31 11:29:32 -07:00
http fix(http): move destructuring inside {Request,Response}Options ctor 2017-06-09 14:34:39 -07:00
language-service refactor(tsc-wrapped): move tsc-wrapped to the packages directory (#18160) 2017-07-21 12:26:16 -05:00
platform-browser perf(core): use native addEventListener for faster rendering. (#18107) 2017-07-25 15:35:44 -05:00
platform-browser-dynamic refactor: fix typos (#18000) 2017-07-07 16:55:17 -07:00
platform-server docs(platform-server): inline PlatformOptions and add doc strings (#18264) 2017-07-25 15:58:13 -05:00
platform-webworker refactor: fix typos (#18000) 2017-07-07 16:55:17 -07:00
platform-webworker-dynamic build: import tslib rather than output TS helpers (#16901) 2017-05-23 14:01:39 -06:00
router Revert "fix(router): should throw when lazy loaded module doesn't define any routes (#15001)" 2017-07-27 10:53:01 -07:00
tsc-wrapped build: Bazel builds ngfactories for packages/core (#18289) 2017-07-21 18:09:47 -05:00
upgrade fix(upgrade): ensure downgraded components are created in the Angular zone (#18209) 2017-07-20 16:25:11 -05:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
es6-subset.d.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
license-banner.txt refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig.json refactor(tsc-wrapped): move tsc-wrapped to the packages directory (#18160) 2017-07-21 12:26:16 -05:00
types.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT