![]() |
VOOZH | about |
In this article, we are going to check whether a form is touched or not in Angular 10. The touched property is used to report that the control or the form is touched or not.
Syntax:
form.touched
Return Value:
NgModule: Module used by the touched property is:
Approach:
Example:
Output:
👁 ImageReference: https://v17.angular.io/api/forms/AbstractControlDirective#touched