core/forms/unique-in-collection-by-path-validation.directive.ts
Validator
Providers |
{
provide: NG_VALIDATORS, useExisting: UniqueInCollectionByPathValidationDirective, multi: true
}
|
Selector | [uniqueByPath] |
Methods |
Inputs |
collection |
Type : Iterable<object>
|
comparator |
Type : function
|
path |
Type : string
|
validate | ||||||
validate(control: AbstractControl)
|
||||||
Parameters :
Returns :
ValidationErrors | null
|