angular/packages/forms/src
Kara Erickson 0d45828460 feat(forms): add updateOn and ngFormOptions to NgForm
This commit introduces a new Input property called
`ngFormOptions` to the `NgForm` directive. You can use it
to set default `updateOn` values for all the form's child
controls. This default will be used unless the child has
already explicitly set its own `updateOn` value in
`ngModelOptions`.

Potential values: `change` | `blur` | `submit`

```html
<form [ngFormOptions]="{updateOn: blur}">
  <input name="one" ngModel>  <!-- will update on blur-->
</form>
```

For more context, see [#18577](https://github.com/angular/angular/pull/18577).
2017-08-16 15:25:34 -07:00
..
directives feat(forms): add updateOn and ngFormOptions to NgForm 2017-08-16 15:25:34 -07:00
directives.ts fix(forms): roll back breaking change with min/max directives 2017-06-20 09:04:50 -07:00
form_builder.ts fix(forms): Update types for TypeScript nullability support 2017-04-18 12:07:33 -07:00
form_providers.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
forms.ts fix(forms): roll back breaking change with min/max directives 2017-06-20 09:04:50 -07:00
model.ts docs(forms): add api docs for AbstractControlDirective 2017-08-15 15:03:12 -07:00
validators.ts fix(forms): fix min and max validator behavior on non-numbers 2017-06-08 13:59:17 -07:00
version.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00