feat(forms): add minlength and maxlength validators

Closes #4705
This commit is contained in:
vsavkin
2015-10-13 14:38:13 -07:00
committed by Victor Savkin
parent 50e922f37b
commit e82a35d1fd
8 changed files with 141 additions and 17 deletions

View File

@ -396,7 +396,13 @@ var NG_API = [
'DebugElement.queryAll()',
'DecimalPipe',
'DecimalPipe.transform()',
'DefaultValidators',
'RequiredValidator',
'MinLengthValidator',
'MinLengthValidator.minLength',
'MinLengthValidator.minLength=',
'MaxLengthValidator',
'MaxLengthValidator.maxLength',
'MaxLengthValidator.maxLength=',
'DefaultValueAccessor',
'DefaultValueAccessor.onChange',
'DefaultValueAccessor.onChange=',
@ -995,6 +1001,8 @@ var NG_API = [
'Validators#group()',
'Validators#nullValidator()',
'Validators#required()',
'Validators#minLength()',
'Validators#maxLength()',
'Validators',
'View',
'View.directives',