To implement a custom validation directive in template-driven forms, your directive must implement the ______ interface.

  • FormControlValidator
  • NgFormValidator
  • ValidationDirective
  • ValidatorDirective
To implement a custom validation directive in template-driven forms, your directive must implement the ValidatorDirective interface. This interface allows you to define custom validation logic for form controls in Angular template-driven forms. It's important to correctly implement this interface to ensure your custom directive can be used effectively for form validation.
Add your answer
Loading...

Leave a comment

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