2

By default the validators in a model driven form (such as the one below) fire on every key stroke in an input field.

this.form = this.formBuilder.group({
        'username': ['', [Validators.required, Validators.minLength(5)]],
        'email': ['', [Validators.required]],
});

Is there a way to run the validators after the user has left the field only?

Nik
  • 7,086
  • 6
  • 36
  • 52

0 Answers0