Custom validators in Angular are functions that return an object of type ____ when the validation fails.

  • FormControl
  • ValidationErrors
  • number
  • string
Custom validators in Angular are functions that return an object of type ValidationErrors when the validation fails. The ValidationErrors object holds information about the validation error and can be used to display error messages.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *