ng2-validation
ng2-validation copied to clipboard
Request: Array length validation
Request: Array length validation
Looking for something like this itemArray: [[], CustomValidators.arrayMinLength(1)]
by that, form control element 'itemArray' should contain at least one element in it for the form to be valid. and as well as arrayMaxLength may also be useful
welcome PR
@yuyang041060120, since Angular 2.3.1 they fixed the issue with length of FormArray
. IMHO, there's no necessity to add this here.