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