Is there a way to display the validation message as I type, rather than only when the input loses focus? I've tried the following:
form: FormGroup = new FormFroup({
direction: new FormControl("", {
validators:[Validation.required,Validation.pattern("^[0-9]*$")],
updateOn: 'change'
}
In the HTML, I haven't subscribed to the (change) event - could this be the issue? If so, what do I need to do in order to get the validation to happen on typing changes?