core/forms/unique-in-collection-by-path-validation.directive.ts
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 :
literal type | null
|