W3cubDocs

/Angular 2

NG_VALIDATORS: OpaqueToken

Stable Const

Variable Export

export NG_VALIDATORS

Providers for validators to be used for FormControls in a form.

Provide this using multi: true to add validators.

Example

BAD FILENAME: ../../../../../_fragments/_api/core/forms/ts/ng_validators/ng_validators-ng_validators.ts.md   Current path: docs,ts,latest,api,forms,index,NG_VALIDATORS-let PathToDocs: ../../../../../

exported from @angular/forms/index defined in @angular/forms/src/validators.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/forms/index/NG_VALIDATORS-let.html