MinLengthValidator
directive
A directive which installs the MinLengthValidator for any formControlName, formControl, or control with ngModel that also has a minlength attribute.
NgModules
Selectors
[minlength][formControlName][minlength][formControl][minlength][ngModel]
Properties
| Property | Description |
|---|---|
@Input()minlength: string |
Methods
| ngOnChanges() | ||
|---|---|---|
|
| changes | Type: |
Returns
void
| validate() | ||
|---|---|---|
|
| control | Type: |
Returns
ValidationErrors | null
| registerOnValidatorChange() | ||
|---|---|---|
|
| fn | Type: |
Returns
void
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/forms/MinLengthValidator