I have done a custom validator which I apply on one of my two input:
<input type="text"
class="validate"
[(ngModel)]="foo"
name="foo"
ngControl="foo"
customValidator
[validatorArg]="blah"
/>
<input type="text"
class="validate"
[(ngModel)]="blah"
name="blah"
/>
The customValidatordepends on the second input. So what I'd like here, would be to trigger the validator on the foo input when I do modified the blah input.
Any idea how to do that ? I could do it on ngModelChange
EDIT: My inputs are part of a form which is a FormGroup