angular-docs-cn/tools
Kara ff5c58be6b feat(forms): add default updateOn values for groups and arrays (#18536)
This commit adds support for setting default `updateOn` values
in `FormGroups` and `FormArrays`. If you set `updateOn` to
’blur’` at the group level, all child controls will default to `’blur’`,
unless the child has explicitly specified a different `updateOn` value.

```
const c = new FormGroup({
   one: new FormControl()
}, {updateOn: blur});
```

 It's worth noting that parent groups will always update their value and
validity immediately upon value/validity updates from children. In other
words, if a group is set to update on blur and its children are individually
set to update on change, the group will still update on change with its
children; its default value will simply not be used.
2017-08-09 15:41:53 -07:00
..
build chore(build): remove unused build/util 2016-11-07 10:32:00 -08:00
cjs-jasmine build: remove redundant line 2017-06-16 07:51:18 +01:00
code.angularjs.org build: use subshells when changing directories 2017-05-12 12:19:51 -07:00
gulp-tasks build: ignore node_modules for tslint 2017-08-01 10:13:44 -07:00
karma refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
ngc-wrapped build: fix broken bazel build (#18335) 2017-07-26 09:40:33 -07:00
npm chore(npm): clean up clean-shrinkwrap script 2016-10-31 11:26:59 -07:00
public_api_guard feat(forms): add default updateOn values for groups and arrays (#18536) 2017-08-09 15:41:53 -07:00
travis refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
tree-shaking-test refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
tsc-watch refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
tslint fix: build and test fixes for TS 2.1 (#13294) 2017-02-08 11:32:40 -06:00
validate-commit-message fix: validation messages support animations scope 2017-02-10 19:05:00 -06:00
check-environment.js build: fix link to DEVELOPER.md in `check-environment.js` 2017-06-16 07:51:18 +01:00
chromedriverpatch.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
jsconfig.json chore(vscode): add jsconfig.json and remove .settings dir 2015-10-29 13:53:21 +00:00
tsconfig.json build: Bazel builds ngfactories for packages/core (#18289) 2017-07-21 18:09:47 -05:00
types.d.ts fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
utils.inc