angular-cn/packages/forms/test
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_spec.ts feat(forms): add status to `AbstractControlDirective` 2017-08-15 14:43:28 -07:00
form_array_spec.ts feat(forms): add options arg to abstract controls 2017-07-31 11:29:32 -07:00
form_builder_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
form_control_spec.ts feat(forms): add default updateOn values for groups and arrays (#18536) 2017-08-09 15:41:53 -07:00
form_group_spec.ts refactor(forms): compile forms cleanly with TypeScript 2.4 (#18462) 2017-08-02 16:29:31 -07:00
reactive_integration_spec.ts feat(forms): add updateOn support to ngModelOptions 2017-08-15 16:28:52 -07:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
template_integration_spec.ts feat(forms): add updateOn and ngFormOptions to NgForm 2017-08-16 15:25:34 -07:00
validators_spec.ts fix(forms): fix min and max validator behavior on non-numbers 2017-06-08 13:59:17 -07:00
value_accessor_integration_spec.ts fix(forms): re-assigning options should not clear select 2017-08-15 19:07:52 -07:00